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
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | * @since 3.11.0 Unknown. * @since 7.1.0 Explicitly exclude 'error' status. * Drop usage of `this->get_filter( 'default_args' )` in favor of ` 'llms_notification_query_default_args' `. * @ return array */ protected function get_default_args() { $args = array ( 'post_id' => null, 'subscriber' => null, 'sort' => array ( 'updated' => 'DESC' , 'id' => 'DESC' , ), 'statuses' => array_values ( array_diff ( $this ->get_available_statuses(), array ( 'error' ) ) ), 'triggers' => array (), 'types' => array (), 'user_id' => null, ); |
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |