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.4.2

apply_filters('jetpack_connection_disconnect_site_wpcom') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/class-manager.php line 1735
    		 * 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: