jetpack_social_should_refresh_plan_data

jetpack_social_should_refresh_plan_data

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.15.8

apply_filters('jetpack_social_should_refresh_plan_data') is found 1 times:

  • /jetpack_vendor/automattic/jetpack-publicize/src/class-social-admin-page.php line 100
    		// Refresh data if coming from purchase to ensure it is up to date
    		// without making API calls on every admin page load.
    		if ( isset( $_GET['refresh_plan_data'] ) ) {
    			check_admin_referer( self::REFRESH_PLAN_NONCE_ACTION );
    			if ( apply_filters( 'jetpack_social_should_refresh_plan_data', true ) ) {
    				Current_Plan::refresh_from_wpcom();
    			}
    		}
    
    		/**
    		 * Use priority 20 to ensure that we can dequeue the old Social assets.