jetpack_site_before_disconnected

jetpack_site_before_disconnected

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

See hook in core

Displaying hooks found in version: woocommerce.9.7.1

do_action('jetpack_site_before_disconnected') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/class-manager.php line 2197
    2193
    2194
    2195
    2196
    2197
    2198
    2199
    2200
    2201
    2202
    2203
    * Fires before a site is disconnected.
     *
     * @since 1.36.3
     */
    do_action( 'jetpack_site_before_disconnected' );
     
    // If the site is in an IDC because sync is not allowed,
    // let's make sure to not disconnect the production site.
    if ( $disconnect_wpcom ) {
        $tracking = new Tracking();
        $tracking->record_user_event( 'disconnect_site', array() );

See this hook used in plugins: