redirection_redirect_enabled
redirection_redirect_enabled
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_enabled') is found 1 times:
- /models/redirect/redirect.php line 707
global $wpdb; $this->status = 'enabled'; $wpdb->update( $wpdb->prefix . 'redirection_items', [ 'status' => $this->status ], [ 'id' => $this->id ] ); do_action( 'redirection_redirect_enabled', $this->id ); } /** * Disable this redirect * * @return void