How to get all files inserted (but not attached) to a post
Yes you can do this! Is it simple/easy? Sort of… Is it fast and scalable? Oh dear god no 😱. The Super Expensive Solution The solution here is this function: $post_id = url_to_postid( $url ); The problem is that this is a very slow function that’s expensive to call. If you call this when displaying … Read more