Uma área de pesquisa sobre o WordPress para devs e autores do tema



display_post_states ›

Desde3.6.0
Obsoleton/a
apply_filters( 'display_post_states', $post_states, $post )
Parâmetros: (2)
  • (string[]) $post_states An array of post display states.
    Required: Yes
  • (WP_Post) $post The current post object.
    Required: Yes
Definido em:
Codex:

Filters the default post display states used in the posts list table.





Fonte

return apply_filters( 'display_post_states', $post_states, $post );