Core Class
View Source on Trac ↗
Core Class
WP_Customize_Partial
class WP_Customize_Partial
// Constructor: function Object() { [native code] } Core Customizer class for implementing selective refresh partials.
Methods 6 methods
| Method / Return | Description |
|---|---|
| __construct() void | Constructor.
Parameters: $component: WP_Customize_Selective_Refresh, $id: mixed, $args: mixed |
| id_data() array | Retrieves parsed ID data for multidimensional setting. |
| render() (string | Renders the template partial involving the associated settings.
Parameters: $container_context: mixed |
| render_callback() (string | Default callback used when invoking WP_Customize_Control::render().
Parameters: $partial: WP_Customize_Partial, $context: mixed |
| json() array | Retrieves the data to export to the client via JSON. |
| check_capabilities() bool | Checks if the user can refresh this partial. |
Properties
| Property / Type | Description |
|---|---|
| $component mixed public | No description available. |
| $id mixed public | No description available. |
| $id_data mixed public | No description available. |
| $type mixed public | No description available. |
| $selector mixed public | No description available. |
| $settings mixed public | No description available. |
| $primary_setting mixed public | No description available. |
| $capability mixed public | No description available. |
| $render_callback mixed public | No description available. |
| $container_inclusive mixed public | No description available. |
| $fallback_refresh mixed public | No description available. |
Class Information
Since Version
4.5.0
Source File
wp-includes/customize/class-wp-customize-partial.php
Advertisement