post_type_supports


post_type_supports ( $post_type, $feature )

Parameters:
  • (string) $post_type The post type being checked.
  • (string) $feature The feature being checked.
Returns:
  • (bool) Whether the post type supports the given feature.
Defined at:

Description

Check a post type's support for a given feature.

Related Functions

add_post_type_support, get_all_post_type_supports, remove_post_type_support, get_post_types_by_support, wp_http_supports

Top Google Results

User discussions

wpseek mobile