w3tc_capability_menu

w3tc_capability_menu

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

See hook in core

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

apply_filters('w3tc_capability_menu') is found 1 times:

  • /Generic_Plugin_Admin.php line 571
    	 *
    	 * @return void
    	 */
    	private function _admin_menu( $base_capability ) {
    		$base_capability = apply_filters( 'w3tc_capability_menu', $base_capability );
    
    		if ( current_user_can( $base_capability ) ) {
    			$menus         = Dispatcher::component( 'Root_AdminMenu' );
    			$submenu_pages = $menus->generate( $base_capability );
    
    			/**