WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #41816, comment 7


Ignore:
Timestamp:
02/20/2019 10:11:17 PM (7 months ago)
Author:
leodandesign
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41816, comment 7

    v2 v3  
    77}}}
    88
    9 It's not elegant, but effective. Couldn't this be dropped into attachment_url_to_postid() function to pull get the url using a simple pattern instead of making another database lookup.
     9It's not elegant, but effective. Couldn't this be dropped into attachment_url_to_postid() function to get the url using a simple pattern instead of making another database lookup.
    1010
    1111In the real world, I am using this to pull through a full size image for a Schema Json-LD object.