jetpack_pre_deactivate_module

jetpack_pre_deactivate_module

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_pre_deactivate_module') is found 1 times:

  • /vendor/automattic/jetpack-status/src/class-modules.php line 508
    504
    505
    506
    507
    508
    509
    510
    511
    512
    513
    514
         * @since 1.9.0
         *
         * @param string $module Module slug.
         */
        do_action( 'jetpack_pre_deactivate_module', $module );
     
        $active = $this->get_active();
        $new    = array_filter( array_diff( $active, (array) $module ) );
     
        return $this->update_active( $new );
    }

See this hook used in plugins: