get_post_status_object


get_post_status_object ( $post_status )

Parameters:
  • (string) post_status The name of a registered post status.
See:
Returns:
  • (stdClass|null) A post status object.
Defined at:

Description

Retrieves a post status object by name.

Related Functions

get_post_statuses, get_post_status, get_post_type_object, get_post_states, get_post_stati

Top Google Results

User discussions

wpseek mobile