jetpack_connection_disconnect_site_wpcom

jetpack_connection_disconnect_site_wpcom

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('jetpack_connection_disconnect_site_wpcom') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/class-manager.php line 1799
    1795
    1796
    1797
    1798
    1799
    1800
    1801
    1802
    1803
    1804
    * Return `false` to prevent the disconnect.
     *
     * @since 1.14.2
     */
    if ( ! apply_filters( 'jetpack_connection_disconnect_site_wpcom', true, $this ) ) {
        return false;
    }
     
    $xml = new Jetpack_IXR_Client();
    $xml->query( 'jetpack.deregister', get_current_user_id() );

See this hook used in plugins: