wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



display_post_states › WordPress Filter Hooks

Seit5.5.0
Veraltetn/v
apply_filters( 'display_post_states', $post_states, $post )
Parameter: (2)
  • (string[]) $post_states An array of post display states.
    Erforderlich: Ja
  • (WP_Post) $post The current post object.
    Erforderlich: Ja
Definiert in:
Codex:

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





Quellcode

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