Give_Payments_Query::init PHP Méthode

init() public méthode

Modify the query/query arguments before we retrieve payments.
Since: 1.0
public init ( ) : void
Résultat void
    public function init()
    {
        add_action('give_pre_get_payments', array($this, 'date_filter_pre'));
        add_action('give_post_get_payments', array($this, 'date_filter_post'));
        add_action('give_pre_get_payments', array($this, 'orderby'));
        add_action('give_pre_get_payments', array($this, 'status'));
        add_action('give_pre_get_payments', array($this, 'month'));
        add_action('give_pre_get_payments', array($this, 'per_page'));
        add_action('give_pre_get_payments', array($this, 'page'));
        add_action('give_pre_get_payments', array($this, 'user'));
        add_action('give_pre_get_payments', array($this, 'search'));
        add_action('give_pre_get_payments', array($this, 'mode'));
        add_action('give_pre_get_payments', array($this, 'children'));
        add_action('give_pre_get_payments', array($this, 'give_forms'));
    }