Glossary Term
get_post_types_by_support()
3 tags
1 category
get_post_types_by_support() — Retrieves a list of post type names that support a specific feature.
Inputs: $feature (array|string): Single feature or an array of features the post types should support. $operator (string): Optional. The logical operation to perform. ‘or’ means only one element from the array needs to match; ‘and’ means all elements must match; ‘not’ means no elements may match. Default ‘and’.
Returns string[]: A list of post type names.
Term Connections
Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.
Loading term connections…
