get_post_states


get_post_states ( $post )

Parameters:
  • (WP_Post) post The post to retrieve states for.
Returns:
  • (string[]) Array of post state labels keyed by their state.
Defined at:

Description

Retrieves an array of post states from a post.

Related Functions

get_post_statuses, get_post_status, get_post_stati, _post_states, get_post_types

Top Google Results

User discussions

wpseek mobile