Метод | Описание | |
---|---|---|
__construct ( Inpsyde\MultilingualPress\Relations\Post\Search\Search $search ) | Constructor. Sets up the properties. | |
render ( |
Renders the markup for the search results according to the given context. |
Метод | Описание | |
---|---|---|
get_post_title ( WP_Post $post ) : string | Returns the title of the given post, including the status if not published. | |
get_translated_status ( string $status ) : string | Returns the according translation of the given post status, if available. |
public __construct ( Inpsyde\MultilingualPress\Relations\Post\Search\Search $search ) | ||
$search | Inpsyde\MultilingualPress\Relations\Post\Search\Search | Search object. |