wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_content_img_tag › Filtr WordPress Hooks

Od6.0.0
Przestarzałyn/a
› apply_filters( 'wp_content_img_tag', $filtered_image, $context, $attachment_id )
Parametry: (3)
  • () filtered_image Full img tag with attributes that will replace the source img tag.
    Wymagane: Tak
  • () context Additional context, like the current filter name or the function name from where this was called.
    Wymagane: Tak
  • () attachment_id The image attachment ID. May be 0 in case the image is not an attachment.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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