LLMS_Abstract_Posts_Query::prepare_query()
Prepare the query.
Description Description
Should return the query which will be used by query()
.
Return Return
(mixed)
Source Source
File: includes/abstracts/llms-abstract-posts-query.php
protected function prepare_query() { $map = $this->get_arg_map(); $args = array(); foreach ( $this->query_vars as $var => $val ) { $var = array_key_exists( $var, $map ) ? $map[ $var ] : $var; $args[ $var ] = $val; } return $args; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Introduced. |