WP_Customize_Control::check_capabilities

SummerySummery

Checks if the user can use this control.

Syntax

WP_Customize_Control::check_capabilities()

DescriptionDescription

Returns false if the user cannot manipulate one of the associated settings, or if one of the associated settings does not exist. Also returns false if the associated section does not exist or if its capability check returns false.

ReturnReturn

(bool) False if theme doesn't support the control or user doesn't have the required permissions, otherwise true.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top