Description
Filters the required capability for displaying the toolbar. With default WP roles, it will be removed for “subscriber” role, but displayed for all others.
Parameters
$capability
(string) (required) The capability required for displaying the toolbar (default: edit_posts).
Usage
add_filter( 'wpmem_adv_toolbar_capability', function( $capability ) { return 'manage_options'; });
Changelog
Introduced in version 1.2
Source
wpmem_adv_toolbar_capability
is located in includes/class-wp-members-advanced-options.php