w3tc_capability_config_save

w3tc_capability_config_save

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

See hook in core

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

apply_filters('w3tc_capability_config_save') is found 1 times:

  • /Generic_AdminActions_Default.php line 226
    			$data['response_query_string']['extension'] = Util_Request::get_string( 'extension' );
    			$data['response_query_string']['action']    = Util_Request::get_string( 'action' );
    		}
    
    		$capability = apply_filters( 'w3tc_capability_config_save', 'manage_options' );
    		if ( ! current_user_can( $capability ) ) {
    			wp_die( esc_html__( 'You do not have the rights to perform this action.', 'w3-total-cache' ) );
    		}
    
    		/**
    		 * Read config