Filters a dynamic partial’s constructor arguments.
For a dynamic partial to be registered, this filter must be employed to override the default false value with an array of args to pass to the WP_Customize_Partial constructor.
$partial_argsfalse|array
$partial_idstring
$partial_args = apply_filters( 'customize_dynamic_partial_args', $partial_args, $partial_id );
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_dynamic_partial_args