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



wp_content_img_tag › WordPress Filter Hooks

Da6.0.0
Deprecaton/a
› apply_filters( 'wp_content_img_tag', $filtered_image, $context, $attachment_id )
Parametri: (3)
  • () filtered_image Full img tag with attributes that will replace the source img tag.
    Richiesto: Sì
  • () context Additional context, like the current filter name or the function name from where this was called.
    Richiesto: Sì
  • () attachment_id The image attachment ID. May be 0 in case the image is not an attachment.
    Richiesto: Sì
Definito a:
Codex:

Filters an img tag within the content for a given context.





Sorgenti

$filtered_image = apply_filters( 'wp_content_img_tag', $filtered_image, $context, $attachment_id );