jetpack_update_activated_state_on_disconnect

jetpack_update_activated_state_on_disconnect

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.14.5

apply_filters('jetpack_update_activated_state_on_disconnect') is found 1 times:

  • /class.jetpack.php line 2855
    2851
    2852
    2853
    2854
    2855
    2856
    2857
    2858
    2859
    2860
         * @since 10.0.0
         *
         * @param bool $update_activated_state Whether activated state should be updated after disconnecting, defaults to true.
         */
        $update_activated_state = apply_filters( 'jetpack_update_activated_state_on_disconnect', true );
     
        if ( $update_activated_state ) {
            Jetpack_Options::update_option( 'activated', 4 );
        }
    }

See this hook used in plugins: