get_available_post_statuses


get_available_post_statuses ( $type = 'post' )

Parameters:
  • (string) type The post_type you want the statuses for. Default 'post'.
Returns:
  • (string[]) An array of all the statuses for the supplied post type.
Defined at:

Description

Returns all the possible statuses for a post type.

Related Functions

get_available_post_mime_types, get_post_statuses, get_available_languages, get_post_status, get_post_states

Top Google Results

User discussions

wpseek mobile