wpsc_add_cookie
wpsc_add_cookie
Appears in: jetpack.13.2, jetpack.13.2.1, jetpack.13.3.1, jetpack.13.5, jetpack.13.6, jetpack.13.7, jetpack.13.8, jetpack.13.8.1, jetpack.13.9.1, jetpack.14.0, jetpack.14.1
Hook Type: action
See hook in action
Displaying hooks found in version: jetpack.14.1do_action('wpsc_add_cookie') is found 1 times:
- /extensions/blocks/subscriptions/subscriptions.php line 1019
*/ function maybe_prevent_super_cache_caching() { // Prevents cached page to be served if the Membership cookie is present if ( is_jetpack_token_subscription_service_loaded() ) { do_action( 'wpsc_add_cookie', Jetpack_Token_Subscription_Service::JWT_AUTH_TOKEN_COOKIE_NAME ); } if ( is_user_auth() ) { // Do not cache the page if user is auth with Membership token if ( ! defined( 'DONOTCACHEPAGE' ) ) { define( 'DONOTCACHEPAGE', true );