WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to modify the Member Status Plugin so that the status are based on the data saved on a custom database table.

Basically I wanted to change the administration menu with a form that can manually update the data saved in the database.

I noticed the current form is pointing to /wp-admin/options.php but im very new to WP (2 days) and not sure why it is so.

How can I direct the form to pass it to the plugin instead so I can update the data on the table?

I am assuming once I can do that I can only use AJAX to do the same thing, am I right on this?

share|improve this question

It points to options.php because it uses the Settings API. Well, not completely, but that’s not the point now. You should not change that.

What you can do, to add your own logic: hook into the save process for that option:

add_filter( "sanitize_option_webweb-member-status-group", "your_extra_handler" );

function your_extra_handler( $input )
    if ( isset ( $_POST['your_extra_post_field'] ) )
        // do something awesome

    return $input; // don’t touch that value
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.