wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



post_states_html › Les Filtres WordPress

Depuis6.9.0
Dépréciéen/a
› apply_filters( 'post_states_html', $post_states_html, $post_states, $post )
Paramètres: (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>`.
    Requis: Oui
  • () post_states A mapping of post state slugs to translated post state labels. E.g. `array( 'draft' => __( 'Draft' ), 'sticky' => __( 'Sticky' ), ... )`.
    Requis: Oui
  • () post The current post object.
    Requis: Oui
Défini(e) dans:
Codex:

Filters the HTML string of post states.





Source

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