LLMS_Notifications_Query::get_default_args()
Retrieve default arguments for a student query
Return Return
(array)
Source Source
File: includes/notifications/class.llms.notifications.query.php
protected function get_default_args() { $args = array( 'post_id' => null, 'subscriber' => null, 'sort' => array( 'updated' => 'DESC', 'id' => 'DESC', ), 'statuses' => array(), 'triggers' => array(), 'types' => array(), 'user_id' => null, ); $args = wp_parse_args( $args, parent::get_default_args() ); return apply_filters( $this->get_filter( 'default_args' ), $args ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |