WordPress как на ладони
Мощный и не дорогой хостинг от Fornex.com Хостинг, VPS/VDS и отдельные сервера только на SSD дисках. 7 дней бесплатного тестирования.
фильтр не описан

customize_dynamic_partial_args хук-фильтр . WP 4.5.0

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.

Использование

add_filter( 'customize_dynamic_partial_args', 'filter_function_name_4057', 10, 2 );
function filter_function_name_4057( $partial_args, $partial_id ){
	// filter...

	return $partial_args;
}
$partial_args(false/массив)
The arguments to the WP_Customize_Partial constructor.
$partial_id(строка)
ID for dynamic partial.

Где вызывается хук

WP_Customize_Selective_Refresh::add_dynamic_partials()
WP_Customize_Selective_Refresh::add_partial()
wp-includes/customize/class-wp-customize-selective-refresh.php 250
$partial_args = apply_filters( 'customize_dynamic_partial_args', $partial_args, $partial_id );
wp-includes/customize/class-wp-customize-selective-refresh.php 117
$args = apply_filters( 'customize_dynamic_partial_args', $args, $id );

Где используется хук (в ядре WP)

wp-includes/class-wp-customize-widgets.php 127
add_filter( 'customize_dynamic_partial_args', array( $this, 'customize_dynamic_partial_args' ), 10, 2 );
wp-includes/class-wp-customize-nav-menus.php 70
add_filter( 'customize_dynamic_partial_args', array( $this, 'customize_dynamic_partial_args' ), 10, 2 );