You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Some plugins rely on the "add_attachment" action/hook when an image is added. For example, when an image optimization plugin needs to take action on a new image upload.
Describe the solution you'd like
Call the following code when replacing a watermarked image with a purchased one:
do_action( 'add_attachment', $post_ID );
The $post_ID is the attachment/post ID number.
The text was updated successfully, but these errors were encountered:
I have auto convert enabled. I went into a page and changed an image to one I found using BG Connect Search. When I look in the media library it says it’s converted but the jpeg still goes out when I look at the Network tab of dev tools.
I also tried finding the image and converting it first, then adding it to a page. I still don’t see it served in webp.
Is your feature request related to a problem? Please describe.
Some plugins rely on the "add_attachment" action/hook when an image is added. For example, when an image optimization plugin needs to take action on a new image upload.
Describe the solution you'd like
Call the following code when replacing a watermarked image with a purchased one:
The
$post_ID
is the attachment/post ID number.The text was updated successfully, but these errors were encountered: