apply_filters( 'wpbuddy/rich_snippets/capability_main_menu', $capability ) → {string}
Main Menu capability filter.
Allows to change the capability for the main menu.
Parameters:
Name | Type | Description |
---|---|---|
$capability |
string | The capability (default: manage_options) |
- Since:
- 2.0.0
- Source:
Returns:
The capability.
- Type
- string