WP_Customize_Selective_Refresh::get_partial

Advertisement

Summery Summery

Retrieves a partial.

Syntax Syntax

WP_Customize_Selective_Refresh::get_partial( string $id )

Parameters Parameters

$id

(string) (Required) Customize Partial ID.

Return Return

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

Source Source

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

		unset( $this->partials[ $id ] );
	}

	/**
	 * Initializes the Customizer preview.
	 *
	 * @since 4.5.0

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.