WP_Super_Cache_Rest_Update_Settings::set_cache_rejected_user_agent()protectedWPSCache 1.0

{} It's a method of the class: WP_Super_Cache_Rest_Update_Settings{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->set_cache_rejected_user_agent( $value );
$value(mixed) (required)
-

Code of WP_Super_Cache_Rest_Update_Settings::set_cache_rejected_user_agent() WPSCache 1.8

protected function set_cache_rejected_user_agent( $value ) {
	$_POST['wp_rejected_user_agent'] = implode( "\n", $value );
	wp_cache_update_rejected_ua();
}