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



post_states_html › WordPress Filter Hooks

Da6.9.0
Deprecaton/a
› apply_filters( 'post_states_html', $post_states_html, $post_states, $post )
Parametri: (3)
  • () post_states_html All relevant post states combined into an HTML string for display. E.g. `&mdash; <span class='post-state'>Draft, </span><span class='post-state'>Sticky</span>`.
    Richiesto: Sì
  • () 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 HTML string of post states.





Sorgenti

$post_states_html = apply_filters( 'post_states_html', $post_states_html, $post_states, $post );