Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/customize/class-wp-customize-selective-refresh.php | apply_filters | 105 | /** * Adds a partial. * * @since 4.5.0 * * @see WP_Customize_Partial::__construct() * * @param WP_Customize_Partial|string $id Customize Partial object, or Partial ID. * @param array $args Optional. Array of properties for the new Partials object. * See WP_Customize_Partial::__construct() for information * on accepted arguments. Default empty array. * @return WP_Customize_Partial The instance of the partial that was added. */ |
wp-includes/customize/class-wp-customize-selective-refresh.php | apply_filters | 251 | /** * Filters the class used to construct partials. * * Allow non-statically created partials to be constructed with custom WP_Customize_Partial subclass. * * @since 4.5.0 * * @param string $partial_class WP_Customize_Partial or a subclass. * @param string $partial_id ID for dynamic partial. * @param array $partial_args The arguments to the WP_Customize_Partial constructor. */ |
Hook Parameters
Parameter Type | Name | Description |
---|