Give_Payments_Query::date_filter_post PHP Метод

date_filter_post() публичный Метод

If querying a specific date, remove filters after the query has been run to avoid affecting future queries.
С версии: 1.0
public date_filter_post ( ) : void
Результат void
    public function date_filter_post()
    {
        if (!($this->args['start_date'] || $this->args['end_date'])) {
            return;
        }
        remove_filter('posts_where', array($this, 'payments_where'));
    }