Can the listing search show this post type?
True when the post type is registered and visitors can view it, so a switched off listing type (rentals turned off) or a private one (contacts) is left out of the search.
| Since | |
|---|---|
3.6 |
New: so the search skips switched off and private post types. |
| Parameters | |||
|---|---|---|---|
string
|
$post_type |
Post type name from the search request. |
# |
| Returns | |
|---|---|
bool
|
|