Notifications
Clear all

Media Uploader blocks my filter the_content function from working

2 Posts
2 Users
0 Likes
1,286 Views
Posts: 1
Customer
Topic starter
(@onetimeuser)
Member
Joined: 6 years ago

Hi there,

I am using the below filter to find all URLs in my post and change them to Hyperlinks.

since I activated the wpDiscuz Media Uploader, this function is not working anymore. Can you please help me here, I will otherwise not be able to use the plugin.

thanks.

 

function automateHyperlinks($content) {

$content = make_clickable( $content );

return $content;

}

add_filter('the_content', 'automateHyperlinks', 100, 1);

Topic Tags
1 Reply
Astghik
Posts: 5911
Admin
(@astgh)
Illustrious Member
Joined: 6 years ago

Hi @onetimeuser,

We've just checked and found that wpDiscuz Media Uploader doesn't have any effect on this function.  Please try to deactivate other plugins (leave activate only the wpDiscuz and wpDiscuz  Media Uploader plugins) and check it again. If it works activate plugins one by one and check after each activation. 

Reply
Share:
Scroll to top