redirection_redirect_disabled

redirection_redirect_disabled

Hook Type: action

See hook in core

Displaying hooks found in version: redirection.5.5.2

do_action('redirection_redirect_disabled') is found 1 times:

  • /models/redirect/redirect.php line 723
    719
    720
    721
    722
    723
    724
    725
    726
    727
    728
    729
        global $wpdb;
     
        $this->status = 'disabled';
        $wpdb->update( $wpdb->prefix . 'redirection_items', [ 'status' => $this->status ], [ 'id' => $this->id ] );
        do_action( 'redirection_redirect_disabled', $this->id );
    }
     
    /**
     * Get the redirect ID
     *
     * @return integer