Small patch for next update – media file URLs
-
Hello,
Here is a small patch to make media file URLs mapped:
add_filter( ‘wp_get_attachment_url’, ‘domain_mapping_post_content’ );
If you go into Media > Edit, you will see the File URL off to the side. Without this filter, the FIle URL shows the original multisite path.
https://www.ads-software.com/extend/plugins/wordpress-mu-domain-mapping/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Small patch for next update – media file URLs’ is closed to new replies.