jetpack_connection_disconnect_site_wpcom_offline_mode

jetpack_connection_disconnect_site_wpcom_offline_mode

Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.4.2

apply_filters('jetpack_connection_disconnect_site_wpcom_offline_mode') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/class-manager.php line 1724
    		if ( ! $ignore_connected_plugins && null !== $this->plugin && ! $this->plugin->is_only() ) {
    			return false;
    		}
    
    		if ( ( new Status() )->is_offline_mode() && ! apply_filters( 'jetpack_connection_disconnect_site_wpcom_offline_mode', false ) ) {
    			// Prevent potential disconnect of the live site by removing WPCOM tokens.
    			return false;
    		}
    
    		/**
    		 * Fires upon the disconnect attempt.