redirection_redirect_enabled

redirection_redirect_enabled

Hook Type: action

See hook in core

Displaying hooks found in version: redirection.5.5.0

do_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