wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



display_post_states › WordPress Filter Hooks

Da5.5.0
Deprecaton/a
› apply_filters( 'display_post_states', $post_states, $post )
Parametri: (2)
  • () post_states A mapping of post state slugs to translated post state labels. E.g. `array( 'draft' => __( 'Draft' ), 'sticky' => __( 'Sticky' ), ... )`.
    Richiesto: Sì
  • () post The current post object.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

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