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
}
Related Posts:
- Using a custom plugin to capture input data via Ajax and PHP
- AJAX fileupload – TypeError: not a function ajaxSubmit()
- Submit Form data to another page via Ajax (WordPress Way)
- What’s the preferred method of writing AJAX-enabled plugins?
- How to pass JavaScript variable to PHP in wordpress widget?
- How To Ignore a Filter On Applying Filter the Content In a Function
- AJAX Call Via Vanilla JavaScript In WordPress Plugin Development
- How to get posts by content?
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- Publish Post After Click On A Link
- Errors while using ajax from external wordpress page
- shortcode doesn’t work
- Built in admin ajax hooks?
- Ajax call doesn’t work in frontend but it’s working in backend (when I’m logged in)
- Why is my ajax call refreshing the page?
- Admin-ajax.php is dying “0” without processing function
- Action on post publish
- How to remove an Ajax action
- How to create popup same as wordpress popup feature
- Only execute jQuery function(on document ready) on the page has shortcode from plugin [duplicate]
- Admin page: form with enctype=”multipart/form-data” does not transfer its data
- $wpdb working with ajax but showing ajax error instead of success
- Check if email address exists front end with AJAX in a plugin
- Execute a plugin only on post pages
- WooCommerce get_price returning wrong price when used via ajax
- Custom form action to handle data inside a plugin
- wp_create_nonce function doesn’t work inside a plugin?
- Form isn’t inserting data into database with ajax plugin
- New User Form – Custom Menu Page
- AJAX search posts and pages
- finding whether request is for post, and post id
- Display post lists in 2nd paragraph
- Contributive page where people logged in can write
- Best place for if/else piece of code related to custom plugin?
- Ajax call returning 0
- Ajax fail and get 504 error
- Checkbox conflict in my custom plugin admin page
- Trying to fix form resubmition with PRG (Getting error: Cannot modify header information – headers already sent by)
- Create tabs in admin options page from custom post type loop
- Display wordpress post’s in popup?
- What are the Best Practises When Using AJAX in Plugin Development?
- Redirect to another page using contact form 7? [closed]
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- How to get all posts belongs to a user between a certain date
- WordPress front end AJAX. Return 0 :?
- Using WordPress to build membership Page
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- Asynchronous request in wordpress
- WordPress API functions not working at AJAX functions.php call
- Calling a class method instantiated by ajax call in wordpress [closed]
- Select Form Element Not Saving from Plugin Options
- Delete data from custom table when deleting a post
- Plugin is creating posts twice
- How to append new form elements in “Add New” form of Users in WordPress admin panel?
- Ajax request sends url rather than data
- How to get Recent Post From Each Category with Thumbnail?
- Plugin for visitors to edit content without logging in? [closed]
- help intercepting save_post through plugin
- best way to run a php script away from the template?
- Is it possible to pin a post in second position from top
- User loggedin as Subscriber form not sending
- Help to Create a Simple Plugin to make a post
- Error datatable whit ajax
- How can I see $post object in frontend from functions.php?
- Allow members to create groups on my site
- add tags to wordpress post using REST API
- Prefix WordPress Taxonomy Tags With Hashtag Symbol Like Twitter
- WordPress ajax error 400 bad request for sending data to remote site [duplicate]
- Ajax call to php function doesn’t work PHP code
- Is it possible to create duplicate post on other site (either push, on publish, or pull, periodically)?
- submit form data to wordpress existing database table using my plugin
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- Overwriting Plugin’s Ajax callback function from theme
- How can I get the Post ID and Post Type within a Must Use Plugin?
- My ajax request don´t work and return 0
- Get content and send to 3rd party
- How can I use wp_ajax_response for front-end error reporting?
- How to limit each front-end user to view just his own uploaded files on Amazon S3?
- WP_Filesystem usage within a block of code
- WordPress ajax not working in registration
- How do I convince this button to do something when it is clicked?
- Ajax, jQuery and WordPress
- Linking Plugin Files to WP
- How to get site homepage from plugin?
- Create plugin with form in post and submit it to specific form
- Get page type to display content
- Creating fields in the database
- Custom feed parameters / Template overriding
- Help me with my first very basic plugin
- Plugin Admin Page Ajax-Admin call returning 0, URL set correctly. Implemented localized scripts but did not fix it
- Load css classes after using ajax calls
- Plugin to display text before a post
- How to get an error message if a form is empty (plugin: Post for site) [closed]
- Jquery post responses 500 error after some time and lastly an 503 error
- Inline AJAX script passing variables to PHP
- warning wp session
- wordpress admin-ajax bad request 400
- Display file contents within Plugin
- Trying to Find the PHP File/Function that Handles a Specific Form Action URL
- Ajax response from Media Selection does not update ALL information more than once