Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
LLMS_Notifications_Query::parse_statuses()
Parse submitted statuses
Return Return
(void)
Source Source
File: includes/notifications/class.llms.notifications.query.php
private function parse_statuses() { $statuses = $this->arguments['statuses']; // allow strings to be submitted when only requesting one status if ( is_string( $statuses ) ) { $statuses = array( $statuses ); } // ensure only valid statuses are used $statuses = array_intersect( $statuses, $this->get_available_statuses() ); $this->arguments['statuses'] = $statuses; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.8.0 | Introduced. |