WP_Customize_Selective_Refresh::partials() WordPress Method
The WP_Customize_Selective_Refresh::partials() method is used to select which partials should be refreshed when a setting is changed. This is useful for making sure that only the necessary part of the page is updated, rather than the entire page.
WP_Customize_Selective_Refresh::partials() #
Retrieves the registered partials.
Return
(array) Partials.
Source
File: wp-includes/customize/class-wp-customize-selective-refresh.php
public function partials() { return $this->partials; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |