Notifications
Clear all

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

3 Posts
2 Users
0 Reactions
799 Views
adisaputro
Posts: 128
Topic starter
(@adisaputro)
Estimable Member
Joined: 6 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: 10591
Admin
(@robert)
Support Team
Joined: 9 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: 128
Topic starter
(@adisaputro)
Estimable Member
Joined: 6 years ago

It works, thanks Robert