get_available_post_statuses


get_available_post_statuses ( $type = 'post' )

Parameters:
  • (string) $type The post_type you want the statuses for
Returns:
  • (array) As array of all the statuses for the supplied post type
Defined at:

Description

Get all the possible statuses for a post_type

Related Functions

get_available_post_mime_types, get_post_statuses, get_available_languages, get_post_status, wp_get_available_translations

Top Google Results

User discussions

wpseek mobile