Give_Payments_Query::date_filter_post PHP Méthode

date_filter_post() public méthode

If querying a specific date, remove filters after the query has been run to avoid affecting future queries.
Since: 1.0
public date_filter_post ( ) : void
Résultat void
    public function date_filter_post()
    {
        if (!($this->args['start_date'] || $this->args['end_date'])) {
            return;
        }
        remove_filter('posts_where', array($this, 'payments_where'));
    }