wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
_wp_post_thumbnail_class_filter › WordPress Function
Da2.9.0
Deprecaton/a
› _wp_post_thumbnail_class_filter ( $attr )
Parametri: |
|
Ritorna: |
|
Definito a: |
|
Codex: |
Adds a 'wp-post-image' class to post thumbnails. Internal use only.
Uses the {@see 'begin_fetch_post_thumbnail_html'} and {@see 'end_fetch_post_thumbnail_html'} action hooks to dynamically add/remove itself so as to only filter post thumbnails.