Forums

Create A Plugin That Can Edit/Delete Database Records? (1 post)

  1. vincentrich
    Member
    Posted 5 years ago #

    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:

    http://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:

    http://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

Topic Closed

This topic has been closed to new replies.

About this Topic