wpsc_add_cookie

wpsc_add_cookie

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: jetpack.13.2.1

do_action('wpsc_add_cookie') is found 1 times:

  • /extensions/blocks/subscriptions/subscriptions.php line 918
     */
    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 );
    

See this hook used in plugins: