redirection_redirect_disabled
redirection_redirect_disabled
Appears in: redirection.5.3.10, redirection.5.3.9, redirection.5.4.1, redirection.5.4.2, redirection.5.5.0
Hook Type: action
Displaying hooks found in version: redirection.5.5.0do_action('redirection_redirect_disabled') is found 1 times:
- /models/redirect/redirect.php line 720
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