WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about option_page_capability_

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/options.php apply_filters 45 /**
* Filters the capability required when using the Settings API.
*
* By default, the options groups for all registered settings require the manage_options capability.
* This filter is required to change the capability required for a certain options page.
*
* @since 3.2.0
*
* @param string $capability The capability used for the page, which is manage_options by default.
*/

Hook Parameters

Parameter Type Name Description
string $capability The capability used for the page, which is manage_options by default.