[wp-trac] [WordPress Trac] #57760: add 'pre_wp_get_attachment_url' filter

WordPress Trac noreply at wordpress.org
Fri Feb 17 18:49:26 UTC 2023


#57760: add 'pre_wp_get_attachment_url' filter
-------------------------+------------------------------
 Reporter:  fodisery     |       Owner:  (none)
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by fodisery):

 Real life problem:

 https://wordpress.org/plugins/featured-image-from-url/
 They solve this by creating fake attachment for each featured image, which
 waste of space.

 https://wordpress.org/plugins/featured-image-by-url/
 They stated plugin wont work if theme uses 'wp_get_attachment_url' to get
 featured image url

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57760#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list