Forums
Home / Plugin: WordPress MU Domain Mapping / Proposal: Two more filters
(@antwortzeit)
9 years, 9 months ago
Hi,
we just wanted to propose adding two more filters for Domain Mapping:
add_filter( ‘wp_get_attachment_url’, ‘domain_mapping_post_content’); add_filter( ‘content_url’, ‘domain_mapping_post_content’);
Or, if you don’t like them being added, allow other filters to be added by users?
Best,
Christian
https://wordpress.org/plugins/wordpress-mu-domain-mapping/
And just to add another one:
add_filter( ‘wp_nav_menu_items’, ‘domain_mapping_post_content’);
This one came in really handy for us.
(@mkuplens)
9 years, 7 months ago
These would indeed be a big help, particularly the content_url filter.
(@brbrbr)
second that