get_posts()
public method
Returns the latest/best-matching posts with respect to the given context.
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. |