Using Ajax to submit a form, and run a SQL Select query based on user input from the form
Using Ajax to submit a form, and run a SQL Select query based on user input from the form
Using Ajax to submit a form, and run a SQL Select query based on user input from the form
WP query taxonomy optimization
Modify WooCommerce used to get all orders in dashboard
How to WP_Query posts order by parent title?
Sql query does not work well
MySQL Query Returns Array () In Shortcode
Return records between two meta datetimes saved as strings
Foreign wp_users ID in custom plugin DB table?
It’s always good to clear your own stuff on uninstallation. I see you’re using set_transient. There also is a delete_transient function (docs). I think that’s the only thing you need to clean things up.
If each user is registered as a WordPress user (and thus exists in the users table), you can save user metadata on each reordering operation. You would communicate back to the server via Ajax (via admin-ajax.php, this also works for non-admin stuff). Serialize the current order to a JSON string, send it to the server … Read more