Jetpack_Protect_Module::delete_transient PHP Method

delete_transient() public method

Wrapper for WordPress delete_transient function, our version deletes the transient on the main site in the network if this is a multisite network
public delete_transient ( string $transient ) : boolean
$transient string Transient name. Expected to not be SQL-escaped.
return boolean true if successful, false otherwise
    function delete_transient($transient)
    {
        if (is_multisite() && !is_main_site()) {
            switch_to_blog($this->get_main_blog_id());
            $return = delete_transient($transient);
            restore_current_blog();
            return $return;
        }
        return delete_transient($transient);
    }