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

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:
The 10 best state economies in America in 2026
Interview with the Vampire: The Vampire Lestat: Montreal Books Included
A toxic stew drags stocks lower as we look at what can get the AI trade back on track
The new housing bill won't provide fast relief. These mortgage tools can help you right now
Jim Cramer says tech remains the market's best place to find big winners despite recent struggles
The 10 worst state economies in America in 2026
South Carolina governor taps Lindsey Graham's sister to serve as interim senator
Movie: The Invite
Trump to claim declassified intel reveals 2020 election interference: MS NOW
I'll get right on it...