WP_Customize_Partial::check_capabilities

Advertisement

Summery Summery

Checks if the user can refresh this partial.

Syntax Syntax

WP_Customize_Partial::check_capabilities()

Description Description

Returns false if the user cannot manipulate one of the associated settings, or if one of the associated settings does not exist.

Return Return

(bool) False if user can't edit one of the related settings, or if one of the associated settings does not exist.

Source Source

File: wp-includes/customize/class-wp-customize-partial.php

			'type'               => $this->type,
			'fallbackRefresh'    => $this->fallback_refresh,
			'containerInclusive' => $this->container_inclusive,
		);
		return $exports;
	}

	/**
	 * Checks if the user can refresh this partial.
	 *
	 * Returns false if the user cannot manipulate one of the associated settings,
	 * or if one of the associated settings does not exist.

Advertisement

Changelog Changelog

Changelog
Version Description
4.5.0 Introduced.

Advertisement

Leave a Reply