WordPress at a glance
function is not described

WP_Customize_Selective_Refresh::get_partial() public WP 4.5.0

Retrieves a partial.

{} It's a method of the class: WP_Customize_Selective_Refresh{}

No Hooks.

Return

WP_Customize_Partial|null. The partial, if set. Otherwise null.

Usage

$WP_Customize_Selective_Refresh = new WP_Customize_Selective_Refresh();
$WP_Customize_Selective_Refresh->get_partial( $id );
$id(string) (required)
Customize Partial ID.

Changelog

Since 4.5.0 Introduced.

Code of WP_Customize_Selective_Refresh::get_partial() WP 5.7.2

<?php
public function get_partial( $id ) {
	if ( isset( $this->partials[ $id ] ) ) {
		return $this->partials[ $id ];
	} else {
		return null;
	}
}