WP_Super_Cache_Rest_Update_Settings::set_cache_rejected_user_agent()
Method of the class: WP_Super_Cache_Rest_Update_Settings{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->set_cache_rejected_user_agent( $value );
- $value(mixed) (required)
- -
WP_Super_Cache_Rest_Update_Settings::set_cache_rejected_user_agent() WP Super Cache Rest Update Settings::set cache rejected user agent code WPSCache 1.12.4
protected function set_cache_rejected_user_agent( $value ) { $_POST['wp_rejected_user_agent'] = implode( "\n", $value ); wp_cache_update_rejected_ua(); }