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

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:
Meta- and Google-backed Jio Platforms’ shares soar over 21% on trading debut after record IPO
Early third-quarter earnings show a 'resilient' U.S. consumer, with signs of strain
UBS pre-tax profits jump 27% to $3.59 billion in the third quarter
Trump administration may let more Russian diesel onto market, energy secretary tells CNBC
Wednesday's big stock stories: What’s likely to move the market in the next trading session
SK Hynix shares jump 11% after record quarterly profit, outperforming broader market
Tengo una pregunta para hablantes de español
'Bad time to troll': Binance cofounder Changpeng Zhao asks Elon Musk for 'respect' after post about bitcoin hack
Intel heads for worst day on Wall Street in more than 50 years on weak guidance
Stargate SG-1: Allegiance Rewatch