w3tc_capability_admin_bar

w3tc_capability_admin_bar

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: w3-total-cache.2.8.2

apply_filters('w3tc_capability_admin_bar') is found 1 times:

  • /Generic_Plugin.php line 286
    	 */
    	public function admin_bar_menu() {
    		global $wp_admin_bar;
    
    		$base_capability = apply_filters( 'w3tc_capability_admin_bar', 'manage_options' );
    
    		if ( current_user_can( $base_capability ) ) {
    			$modules = Dispatcher::component( 'ModuleStatus' );
    
    			$menu_items = array();