Filter hook 'customize_dynamic_partial_class'

in WP Core File wp-includes/customize/class-wp-customize-selective-refresh.php at line 105

Description

Adds a partial.

Occurrences

Filename Line Number
wp-includes/customize/class-wp-customize-selective-refresh.php 105
wp-includes/customize/class-wp-customize-selective-refresh.php 251

Parameters

Type Name Description
WP_Customize_Partial|string $id Customize Partial object, or Partial ID.
array $args Optional. Array of properties for the new Partials object. See WP_Customize_Partial::__construct() for information on accepted arguments. Default empty array.

PHP Doc

/**
	 * 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.
	 */