redirection_redirect_disabled

redirection_redirect_disabled

Hook Type: action

See hook in core

Displaying hooks found in version: redirection.5.5.1

do_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