Changing image URLs in media library

On a default wordpress install, the media library is located at:
/wp-admin/upload.php. I am trying to update the image URL to point to my CDN, not my local server.

This filter

add_filter('admin_post_thumbnail_html', 'my-function', 1000, 5);

will update the featured image URLs in the admin, but not the images in the media library list table. Is there a filter or action I am missing?

0

Leave a Comment