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

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:
Meet Binance's new co-CEO Yi He: The mysterious and omnipresent 'life partner' of CZ
RFK Jr.’s vaccine panel weakens recommendation on hepatitis B shot for babies, scrapping universal guidance
Nvidia partner Foxconn reports 26% revenue spike as AI boom continues
'Foolproof' nail kits and 'Holy Grail' gloves: 11 gifts for $50 or less, recommended by CNBC staff
S&P 500 tries to hang onto gains ahead of big events next week that could move 3 stocks
Apple announces departure of general counsel and policy chief
India's largest airline melts down after new crew rest rules
37-year-old turned her thrifting side hustle into a business that brings in 7 figures a year: 'Anyone can do it'
Berkshire Hathaway is on track to lag behind the S&P 500 in Buffett's last year as CEO
Top Wall Street analysts favor these 3 stocks for their growth potential