jetpack_social_should_refresh_plan_data
jetpack_social_should_refresh_plan_data
Hook Type: filter
Displaying hooks found in version: jetpack.16.0apply_filters('jetpack_social_should_refresh_plan_data') is found 1 times:
- /jetpack_vendor/automattic/jetpack-publicize/src/class-social-admin-page.php line 139
// 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.