Tribe__Repository::__construct()
Tribe__Repository constructor.
Source
File: src/Tribe/Repository.php
public function __construct() {
$this->filter_query = new Tribe__Repository__Query_Filters();
$this->default_args = array_merge( array( 'posts_per_page' => - 1 ), $this->default_args );
$post_types = (array) Tribe__Utils__Array::get( $this->default_args, 'post_type', array() );
$this->taxonomies = get_taxonomies( array( 'object_type' => $post_types ), 'names' );
}
Changelog
| Version | Description |
|---|---|
| 4.7.19 | Introduced. |