PHP Interface Inpsyde\MultilingualPress\Relations\Post\Search\Search

Since: 3.0.0
Show file Open project: inpsyde/multilingual-press Interface Usage Examples

Public Methods

Method Description
get_posts ( RelationshipContext $context ) : WP_Pos\WP_Post[] Returns the latest/best-matching posts with respect to the given context.

Method Details

get_posts() public method

Returns the latest/best-matching posts with respect to the given context.
Since: 3.0.0
public get_posts ( RelationshipContext $context ) : WP_Pos\WP_Post[]
$context Inpsyde\MultilingualPress\Relations\Post\RelationshipContext Relationship context data object.
return WP_Pos\WP_Post[] The latest/best-matching posts.