PHP Класс Inpsyde\MultilingualPress\Relations\Post\Search\RequestAwareSearch

С версии: 3.0.0
Наследование: implements Inpsyde\MultilingualPress\Relations\Post\Search\Search
Показать файл Открыть проект

Открытые методы

Метод Описание
get_posts ( RelationshipContext $context ) : WP_Pos\WP_Post[] Returns the latest/best-matching posts with respect to the given context.

Приватные методы

Метод Описание
get_search_query ( ) : string Returns the search query included in the request, if exists.

Описание методов

get_posts() публичный метод

Returns the latest/best-matching posts with respect to the given context.
С версии: 3.0.0
public get_posts ( RelationshipContext $context ) : WP_Pos\WP_Post[]
$context Inpsyde\MultilingualPress\Relations\Post\RelationshipContext Relationship context data object.
Результат WP_Pos\WP_Post[] The latest/best-matching posts.