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: 121

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:
Google and Disney reach deal to restore ESPN, ABC to YouTube TV
The question everyone in AI is asking: How long before a GPU depreciates?
Former Fed Gov. Adriana Kugler violated trading rules while at central bank: ethics report
Dan Sundheim’s D1 Capital buys AI-linked names in third quarter
MAGA rift grows as Trump feuds with Marjorie Taylor Greene before key 2026 midterm elections
Woman pleads guilty to lying about astronaut wife accessing bank account from Space Station
AI puts the squeeze on new grads — and the colleges that promised to make them employable
Trump cuts tariffs on goods like coffee, bananas and beef in bid to slash consumer prices
These are the most oversold stocks in the market that could be primed for a comeback
AI anxiety on the rise: Startup founders react to bubble fears