Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Media Uploader blocks my filter the_content function from working

2 Posts
2 Users
0 Reactions
2,313 Views
Posts: 1
Customer
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@onetimeuser)
Member
Joined: 7 years ago
[#3369]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 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