Filters a dynamic partial's constructor arguments.
Description
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.
Parameters
$partial_argsfalse|array
The arguments to the WP_Customize_Partial constructor.
225*226* @since 4.5.0227*228* @param false|array$partial_args The arguments to the WP_Customize_Partial constructor.229* @param string$partial_idIDfor dynamic partial.230*/231$partial_args=apply_filters('customize_dynamic_partial_args',$partial_args,$partial_id);232if(false===$partial_args){233continue;234}235236/**237* Filters the classused to construct partials.
History
Introduced in 4.5.0. Unchanged from 6.7.7 through 7.1.0.