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.
Hey... hey you... yes you!... Having a good time? Learning new things? Good!
More coming soon…keep checking back.