Свойство | Type | Description | |
---|---|---|---|
$postType |
Méthode | Description | |
---|---|---|
all ( integer $perPage ) : array | Get all posts of this type | |
postType ( ) | ||
posts ( array $args = null ) : array | Raw query function that uses the arguments provided to make a call to Timber::get_posts and casts the returning data in instances of ourself. | |
query ( array $args = null ) : array | Convenience function that takes a standard set of WP_Query arguments but mixes it with arguments that mean we're selecting the right post type |