开发者

Wordpress get_image_tag filter - change image attributes?

开发者 https://www.devze.com 2023-01-18 09:30 出处:网络
Greetings, We can edit image attributes with this get_image_tag filter when we are adding images,but is there any similar filter or action that can we use to edit these attributes when post is added o

Greetings, We can edit image attributes with this get_image_tag filter when we are adding images,but is there any similar filter or action that can we use to edit these attributes when post is added or edited - updated?

Here is th开发者_如何学运维e link I found.

http://www.webtechwise.com/wordpress-filter-examples-changing-attributes-when-adding-images-to-posts/

Thanks in advance.


Yes, use image_send_to_editor.

0

精彩评论

暂无评论...
验证码 换一张
取 消