get_all_post_type_supports( string $post_type );
This construct (function) gets all post type features that are configured for the given post type.
- The key or slug of the given post type for which the features will be fetched.
- (Optional) Specify if you want the post type objects, i.e.
objects, returned to you. The default is
names, meaning you will receive an array of post type names.
Returns an array of the configured post type features. If the post type does not exist, then an empty array is returned.
Your best friend is code, Tonya is making the introductions.
More coming soon…keep checking back.