LLMS_Abstract_Posts_Query::prepare_query()

Prepare the query.


Description Description

Should return the query which will be used by query().


Top ↑

Return Return

(mixed)


Top ↑

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;

	}


Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.