Answered: How can I add, let's say 128 characters, of the best answer (when there is one) under the questions?

Post date: 2021-05-09 03:27:07
Views: 275

If you modify the DB directly, you will not fire all the needed events needed to perform the expected action. That can either make the action fail, or make any other Q2A core or plugin feature fail. In other words, even if you don't detect you've broken something immediately, you might detect it at a later stage.

Conclusion: unless you know 100% of the Q2A core and plugin code that gets executed when performing a specific action, don't try to replicate it by modifying the database directly.

Having said so, there's a plugin that takes care of some (if not all) of these issues: https://github.com/amiyasahu/q2a-delete-hidden-posts

Please click Here to read the full story.
 
Other Top and Latest Questions:
Top Wall Street analysts recommend these 3 dividend stocks for stable income
Here are the 2 big things we're watching in the stock market in the week ahead
The Iran war will change global energy markets in these important ways, oil executives say
Burger King's president says the chain improved its Whopper — and calls from customers helped
Michael Burry says the market today feels like 'the last months of the 1999-2000 bubble'
Is a dedicated circuit needed for smallish refrigerator?
Book: Don Quixote, chapter 2
Book: Platform Decay
Memory chip makers are looking at a 'supercycle' and 'windfall gains.' The stocks jumped 30% in one week
Bank of America says stocks like Apple have plenty of upside following earnings