wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



display_post_states › Filtr WordPress Hooks

Od5.5.0
Przestarzałyn/a
apply_filters( 'display_post_states', $post_states, $post )
Parametry: (2)
  • (string[]) $post_states An array of post display states.
    Wymagane: Tak
  • (WP_Post) $post The current post object.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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