- Timestamp:
- 07/25/2020 07:38:34 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-partial.php
r48067 r48617 69 69 * 70 70 * @since 4.5.0 71 * @var array71 * @var string[] 72 72 */ 73 73 public $settings; … … 135 135 * @param WP_Customize_Selective_Refresh $component Customize Partial Refresh plugin instance. 136 136 * @param string $id Control ID. 137 * @param array $args { 138 * Optional. Arguments to override class property defaults. 139 * 140 * @type array|string $settings All settings IDs tied to the partial. If undefined, `$id` will be used. 137 * @param array $args { 138 * Optional. Array of properties for the new Partials object. Default empty array. 139 * 140 * @type string $type Type of the partial to be created. 141 * @type string $selector The jQuery selector to find the container element for the partial, that is, 142 * a partial's placement. 143 * @type string[] $settings IDs for settings tied to the partial. If undefined, `$id` will be used. 144 * @type string $primary_setting The ID for the setting that this partial is primarily responsible for 145 * rendering. If not supplied, it will default to the ID of the first setting. 146 * @type string $capability Capability required to edit this partial. 147 * Normally this is empty and the capability is derived from the capabilities 148 * of the associated `$settings`. 149 * @type callable $render_callback Render callback. 150 * Callback is called with one argument, the instance of WP_Customize_Partial. 151 * The callback can either echo the partial or return the partial as a string, 152 * or return false if error. 153 * @type bool $container_inclusive Whether the container element is included in the partial, or if only 154 * the contents are rendered. 155 * @type bool $fallback_refresh Whether to refresh the entire preview in case a partial cannot be refreshed. 156 * A partial render is considered a failure if the render_callback returns 157 * false. 141 158 * } 142 159 */
Note: See TracChangeset
for help on using the changeset viewer.