Filters the class used to construct partials.
Description
Allow non-statically created partials to be constructed with custom WP_Customize_Partial subclass.
Parameters
$partial_classstring- WP_Customize_Partial or a subclass.
$partial_idstring- ID for dynamic partial.
$partial_argsarray- The arguments to the WP_Customize_Partial constructor.
Source
$partial_class = apply_filters( 'customize_dynamic_partial_class', $partial_class, $partial_id, $partial_args );
Changelog
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.