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.


Top ↑

Source

File: wp-includes/customize/class-wp-customize-selective-refresh.php

	public function partials() {
		return $this->partials;
	}


Top ↑

Changelog

Changelog
VersionDescription
4.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.