jetpack_force_2fa_cap

jetpack_force_2fa_cap

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.4.2

apply_filters('jetpack_force_2fa_cap') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/sso/class-force-2fa.php line 50
    		 * @return string
    		 * @since jetpack-12.7
    		 * @module SSO
    		 */
    		$this->role = apply_filters( 'jetpack_force_2fa_cap', 'manage_options' );
    
    		// Bail if Jetpack SSO is not active
    		if ( ! ( new Modules() )->is_active( 'sso' ) ) {
    			add_action( 'admin_notices', array( $this, 'admin_notice' ) );
    			return;
    		}
    
jetpack_force_2fa_cap - WordPress Hooks

jetpack_force_2fa_cap

jetpack_force_2fa_cap

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: jetpack.12.7.1

apply_filters('jetpack_force_2fa_cap') is found 1 times:

  • /modules/sso/class-jetpack-force-2fa.php line 45
    		 * @return string
    		 * @since 12.7
    		 * @module SSO
    		 */
    		$this->role = apply_filters( 'jetpack_force_2fa_cap', 'manage_options' );
    
    		// Bail if Jetpack SSO is not active
    		if ( ! class_exists( 'Jetpack' ) || ! Jetpack::is_active() || ! Jetpack::is_module_active( 'sso' ) ) {
    			add_action( 'admin_notices', array( $this, 'admin_notice' ) );
    			return;
    		}