w3tc_config_key_descriptor
w3tc_config_key_descriptor
Appears in: w3-total-cache.2.5.0, w3-total-cache.2.6.0, w3-total-cache.2.6.1, w3-total-cache.2.7.0, w3-total-cache.2.7.2, w3-total-cache.2.7.5, w3-total-cache.2.7.7, w3-total-cache.2.8.0
Hook Type: filter
See hook in action
Displaying hooks found in version: w3-total-cache.2.8.0apply_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 );