wpsc_is_rejected_cookie()
No Hooks.
Return
null
. Nothing (null).
Usage
wpsc_is_rejected_cookie();
wpsc_is_rejected_cookie() wpsc is rejected cookie code WPSCache 1.12.4
function wpsc_is_rejected_cookie() { global $wpsc_rejected_cookies; if ( false == is_array( $wpsc_rejected_cookies ) ) { return false; } foreach ( $wpsc_rejected_cookies as $expr ) { if ( $expr !== '' && $match = preg_grep( "~$expr~", array_keys( $_COOKIE ) ) ) { wp_cache_debug( 'wpsc_is_rejected_cookie: found cookie: ' . $expr ); return true; } } return false; }