Media Uploader blocks my filter the_content function from working  

  RSS

onetimeuser
(@onetimeuser)
Member Customer
Joined: 4 months ago
Posts: 1
11/01/2019 9:06 pm  

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);


ReplyQuote
Topic Tags
Astghik
(@astghik)
Support Team Admin
Joined: 1 year ago
Posts: 1542
12/01/2019 1:51 pm  

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. 


ReplyQuote
Share: