get_post_status_object


get_post_status_object ( $post_status )

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

Description

Retrieve a post status object by name.

Related Functions

get_post_statuses, get_post_type_object, get_post_status, get_post_stati, get_post_to_edit

Top Google Results

User discussions

wpseek mobile