PHP 클래스 Inpsyde\MultilingualPress\Relations\Post\Search\RequestAwareSearch

부터: 3.0.0
상속: implements Inpsyde\MultilingualPress\Relations\Post\Search\Search
파일 보기 프로젝트 열기: inpsyde/multilingual-press

공개 메소드들

메소드 설명
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.