/** * Get the default args. * * @since 1.0 * * @return array */ protected function get_default_args() { $existing = parent::get_default_args(); $new = array('activation' => '', 'activation__in' => array(), 'activation__not_in' => array(), 'release' => '', 'release__in' => array(), 'release__not_in' => array(), 'update_date' => ''); return wp_parse_args($new, $existing); }
/** * Get the default args. * * @since 1.0 * * @return array */ protected function get_default_args() { $existing = parent::get_default_args(); $new = array('product' => '', 'product__in' => array(), 'product__not_in' => array(), 'download' => '', 'download__in' => array(), 'download__not_in' => array(), 'status' => 'any', 'type' => 'any', 'version' => '', 'version_search' => '', 'changelog_search' => '', 'start_date' => ''); return wp_parse_args($new, $existing); }
/** * Get the default args. * * @since 1.0 * * @return array */ protected function get_default_args() { $existing = parent::get_default_args(); $new = array('key' => '', 'key__in' => array(), 'key__not_in' => array(), 'transaction' => '', 'transaction__in' => array(), 'transaction__not_in' => array(), 'renewal_date' => '', 'key_expired_date' => ''); return wp_parse_args($new, $existing); }
/** * Get the default args. * * @since 1.0 * * @return array */ protected function get_default_args() { $existing = parent::get_default_args(); $new = array('key' => '', 'key__in' => array(), 'key__not_in' => array(), 'location' => '', 'location__in' => array(), 'location__not_in' => array(), 'location_search' => '', 'status' => 'any', 'activation' => '', 'deactivation' => '', 'release' => '', 'release__in' => array(), 'release__not_in' => array(), 'product' => '', 'customer' => ''); return wp_parse_args($new, $existing); }
/** * Get the default args. * * @since 1.0 * * @return array */ protected function get_default_args() { $existing = parent::get_default_args(); $new = array('key_like' => '', 'transaction' => '', 'transaction__in' => array(), 'transaction__not_in' => array(), 'product' => '', 'product__in' => array(), 'product__not_in' => array(), 'customer' => '', 'customer__in' => array(), 'customer__not_in' => array(), 'max' => '', 'max__in' => array(), 'max__not_in' => array(), 'status' => 'any', 'expires' => '', 'customer_search' => '', 'customer_search_columns' => array('user_login', 'user_nicename', 'user_email', 'display_name')); return wp_parse_args($new, $existing); }