jetpack_disconnect_cap
jetpack_disconnect_cap
Appears in: jetpack.10.0, jetpack.10.1, jetpack.10.2, jetpack.10.2.1, jetpack.10.7, jetpack.10.9, jetpack.11.0, jetpack.11.1, jetpack.11.1.2, jetpack.11.2, jetpack.11.3.1, jetpack.11.3.2, jetpack.11.4, jetpack.11.5.1, jetpack.11.6, jetpack.11.8, jetpack.11.8.4, 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.8.8, jetpack.8.8.1, jetpack.8.8.2, jetpack.8.9, jetpack.8.9.1, jetpack.9.0.1, jetpack.9.0.2, jetpack.9.1, jetpack.9.2, jetpack.9.2.1, jetpack.9.3, jetpack.9.3.1, jetpack.9.4, jetpack.9.5, jetpack.9.6, jetpack.9.6.1, jetpack.9.7, jetpack.9.8, jetpack.9.8.1, jetpack.9.9, jetpack.9.9.1, woocommerce.7.9.0, woocommerce.8.0.2, woocommerce.8.0.3, woocommerce.8.1.1, woocommerce.8.2.1, woocommerce.8.2.2, woocommerce.8.3.1, woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3, woocommerce.9.3.1, woocommerce.9.3.3, woocommerce.9.4.2
Hook Type: filter
See hook in action
Displaying hooks found in version: woocommerce.9.4.2apply_filters('jetpack_disconnect_cap') is found 1 times:
- /vendor/automattic/jetpack-connection/src/class-manager.php line 1497
* @since 1.14.2 * * @param array An array containing the capability name. */ $caps = apply_filters( 'jetpack_disconnect_cap', array( 'manage_options' ) ); break; case 'jetpack_connect_user': $is_offline_mode = ( new Status() )->is_offline_mode(); if ( $is_offline_mode ) { $caps = array( 'do_not_allow' ); break;