Create A Plugin That Can Edit/Delete Database Records?
-
Hi guys,
I have been trying to re-create something like a “Manage Links” plugin that can edit and delete records in my database.
Problem is… My plugin’s URL is something like this in the browser:
https://www.domains.com/wp-admin/edit.php?page=PLUGIN.php
I would like to edit/delete a particular record and I need to pass 2 variables into the URL… Something like:
https://www.domains.com/wp-admin/edit.php?page=PLUGIN.php?ID=2&action=edit
I get an error when I use a ? after my plugin php file.
Cannot load PLUGIN.php?ID=2&action=edit
Is this a WordPress limitation or is there any way around this without changing any WordPress core files?
Sincerely,
Vincent
- The topic ‘Create A Plugin That Can Edit/Delete Database Records?’ is closed to new replies.