WP_Super_Cache_Rest_Get_Settings::make_array_bool()
Method of the class: WP_Super_Cache_Rest_Get_Settings{}
No Hooks.
Return
null
. Nothing (null).
Usage
$WP_Super_Cache_Rest_Get_Settings = new WP_Super_Cache_Rest_Get_Settings(); $WP_Super_Cache_Rest_Get_Settings->make_array_bool( $value, $key );
- $value(mixed) (required) (passed by reference — &)
- -
- $key(string) (required)
- -
WP_Super_Cache_Rest_Get_Settings::make_array_bool() WP Super Cache Rest Get Settings::make array bool code WPSCache 1.12.4
public function make_array_bool( &$value, $key ) { if ( $value == 0 || $value == 1 ) { $value = (bool) $value; } }