LLMS_Awards_Query::parse_args()
Parse arguments needed for the query.
Return Return
(void)
Source Source
File: includes/class-llms-awards-query.php
protected function parse_args() { $int_arrays = array( 'users', 'users__exclude', 'related_posts', 'related_posts__exclude', 'engagements', 'engagements__exclude', 'templates', 'templates__exclude', ); foreach ( $int_arrays as $key ) { $this->arguments[ $key ] = $this->sanitize_id_array( $this->arguments[ $key ] ); } $this->arguments['manual_only'] = llms_parse_bool( $this->arguments['manual_only'] ); $this->arguments['page'] = absint( $this->arguments['page'] ); $this->arguments['per_page'] = intval( $this->arguments['per_page'] ); $this->arguments['no_found_rows'] = llms_parse_bool( $this->arguments['no_found_rows'] ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |