jetpack_connection_user_has_license
jetpack_connection_user_has_license
Appears in: jetpack.11.9, jetpack.11.9.1, jetpack.12.0, jetpack.12.1, jetpack.12.1.1, jetpack.12.2.1, jetpack.12.3, jetpack.12.5, jetpack.12.6, jetpack.12.6.1, jetpack.12.7.1, jetpack.12.8, jetpack.12.8.1, jetpack.12.9, jetpack.12.9.3, jetpack.13.0, jetpack.13.1.1, jetpack.13.1.3, 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: filter
See hook in action
Displaying hooks found in version: jetpack.14.1apply_filters('jetpack_connection_user_has_license') is found 1 times:
- /jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php line 353
* @param array $licenses Unattached licenses belonging to the user. * @param string $plugin_slug Slug of the plugin that initiated the flow. */ if ( $plugin_slug && count( $licenses ) && apply_filters( 'jetpack_connection_user_has_license', false, $licenses, $plugin_slug ) ) { wp_safe_redirect( '/wp-admin/admin.php?page=my-jetpack#/add-license' ); exit; } } }