W3cubDocs

/WordPress

apply_filters( 'customize_dynamic_partial_args', false|array $partial_args, string $partial_id )

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_args

(false|array) The arguments to the WP_Customize_Partial constructor.

$partial_id

(string) ID for dynamic partial.

Source

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

View on Trac

Changelog

Version Description
4.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/customize_dynamic_partial_args