Notifications
Clear all

[Solved] How to disable recommended topic when writing topic title

3 Posts
2 Users
0 Reactions
629 Views
adisaputro
Posts: 127
Topic starter
(@adisaputro)
Estimable Member
Joined: 5 years ago

How to disable recommended topic when writing topic title because that feature consume CPU resource a lot and crash the site.

Thank you

2 Replies
Robert
Posts: 10519
Admin
(@robert)
Support Team
Joined: 8 years ago

Hi @adisaputro,

Put this hook in a PHP snippet of the Code Snippetplugin or in the functions.php file of the current active WordPress theme:

add_filter('wpforo_topic_suggestion', '__return_false');

 

adisaputro
Posts: 127
Topic starter
(@adisaputro)
Estimable Member
Joined: 5 years ago

It works, thanks Robert