Media Uploader blocks my filter the_content function from working  


onetimeuser
Posts: 1
Customer
(@onetimeuser)
Member
Joined: 9 months 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: 2651
Admin
(@astghik)
Support Team
Joined: 2 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: