w3tc_config_key_descriptor

w3tc_config_key_descriptor

Hook Type: filter
See hook in action

See hook in core

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

apply_filters('w3tc_config_key_descriptor') is found 1 times:

  • /Generic_AdminActions_Default.php line 716
    			 *
    			 * @param mixed $descriptor Array containing correct data type or null if not matched.
    			 * @param array $key        Key to match on.
    			*/
    			$descriptor = apply_filters( 'w3tc_config_key_descriptor', $descriptor, $key );
    
    			if ( isset( $descriptor['type'] ) ) {
    				if ( 'array' === $descriptor['type'] ) {
    					if ( is_array( $request_value ) ) {
    						// This is needed for radio inputs.
    						$request_value = implode( "\n", $request_value );
    

See this hook used in plugins: