Un motore di ricerca WordPress per sviluppatori e autori di temi



post_class ›

Da2.7.0
Deprecaton/a
apply_filters( 'post_class', $classes, $class, $post->ID )
Parametri: (3)
  • (string[]) $classes An array of post class names.
    Richiesto:
  • (string[]) $class An array of additional class names added to the post.
    Richiesto:
  • (int) $post_id The post ID.
    Richiesto:
Definito a:
Codex:

Filters the list of CSS class names for the current post.





Sorgenti

$classes = apply_filters( 'post_class', $classes, $class, $post->ID );