customize_dynamic_partial_class

Advertisement

Summery Summery

Filters the class used to construct partials.

Syntax Syntax

apply_filters( 'customize_dynamic_partial_class', string $partial_class, string $partial_id, array $partial_args )

Description Description

Allow non-statically created partials to be constructed with custom WP_Customize_Partial subclass.

Parameters Parameters

$partial_class

(string) WP_Customize_Partial or a subclass.

$partial_id

(string) ID for dynamic partial.

$partial_args

(array) The arguments to the WP_Customize_Partial constructor.

Source Source

File: wp-includes/customize/class-wp-customize-selective-refresh.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.