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



wp_content_img_tag › Les Filtres WordPress

Depuis6.0.0
Dépréciéen/a
› apply_filters( 'wp_content_img_tag', $filtered_image, $context, $attachment_id )
Paramètres: (3)
  • () filtered_image Full img tag with attributes that will replace the source img tag.
    Requis: Oui
  • () context Additional context, like the current filter name or the function name from where this was called.
    Requis: Oui
  • () attachment_id The image attachment ID. May be 0 in case the image is not an attachment.
    Requis: Oui
Défini(e) dans:
Codex:

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





Source

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