Method | Description | |
---|---|---|
get_posts ( |
Returns the latest/best-matching posts with respect to the given context. |
Method | Description | |
---|---|---|
get_search_query ( ) : string | Returns the search query included in the request, if exists. |
public get_posts ( |
||
$context | Relationship context data object. | |
return | WP_Pos\WP_Post[] | The latest/best-matching posts. |