settings_fields(‘bp_settings_group’);
bp_settings_group should be changed to bp-settings-group
to match.
settings_fields( $option_group )
$option_group should match the group name used in register_setting() i.e bp-settings-group.
check on codex here.
Related Posts:
- Whitelisting items from custom options page
- How can I save a multiple select array with the settings API for a plug-in options page?
- Custom plugin: Trying to show saved data on frontend
- How to get bool with `get_option()` when already registered setting with type `boolean`
- Settings API – sanitize_callback is not called and it leads to an incorrect behavior
- Adding Default Settings to Theme My Login plugin
- Options API get_option() and update_option() Not Correctly Updating or Returning
- how to update and display an option without reloading the page
- how to save checkbox data for custom setting?
- How to Change CSS Colors from Custom Plugin Settings Page
- Add a custom WooCommerce settings tab with sections
- Settings API form – submit with AJAX
- Custom plugin: how do I call a PHP file if settings option is set to true?
- register_setting not save checkbox
- Trouble with WordPress Settings API: Form Submits When Fields Called Directly, Fails When Using Callbacks
- Submit form to db
- Cloning add_settings_field() with jQuery
- Page Options Saving But Not Updating In Backend
- Get category id when SEO URL is turned on
- PHP: $_SESSION destroyed after page reload for my custom session
- send popup after wp_redirect()
- WordPress – Get Posts with Category data
- How to make sure settings are not lost when plugin is updated?
- no_rest_route error on custom routes
- Flatten Responses returned via WP REST API via WP_Error for obfuscation
- WordPress Settings API unable to save settings
- How to use wp_send_json() and output the value with ajax?
- How does add_option() function enable action hooks to fire right after actiavtion?
- How to correctly escape an echo
- PHP using external anonymous function inside class
- How to save Setting pages data to the database?
- Ajax on the Administration Side of plugin – wp_localize_script – how to pass value from JQuery to PHP function in class?
- Problem with inserting multiple images in gallery of each WooCommerce product programmatically
- Is it possible to access admin-ajax.php using PHP?
- Payment field disappears on custom Paypal plugin
- Call to “admin_notices” hook from a static method
- How to Create custom block for displaying information in content section which act like shortcode
- Using ACF Relationship field to set post type to draft or published status
- Adding image upload in tag section – WordPress plugin development
- How to detect and handle the time difference between server and user in WordPress?
- Create plugin with custom page and template caused an error `Call to undefined function get_header()`
- How to Remove Theme Style CSS inside Custom Plugin?
- WordPress can’t use ZipArchive
- How to setup the Email piping in WordPress plugin?
- Create ACF Checkbox to get all ACF Values from Parent Page
- How to extend SelectControl with data from my theme
- How to change basename url for wp-admin?
- Post form – AJAX won’t upload featured image – Plugin development
- Creating plugin with front-end pages
- Set all WooCommerce Products to Simple, Virtual & Downloadable
- How to Send Pingbacks for all Posts in WordPress?
- Reliable way to add nonce to HTTP Header in WordPress?
- I am having errors with checkout on wordpress
- Only the first image uploads
- Getting an error when my plugin is updated, but the files update correctly
- WordPress loading progess – wp-blog-header.php
- Creating a POP Alert
- Add Pre-Defined Value to Click Counter in WordPress
- Illegal string offset checkbox
- File is executed twice if plugin is activating
- ssl redirect function is not working
- product_type_options get saved value [closed]
- How to make a pagination with dropdown selection?
- Plugin won’t output characters with diacritics properly
- Trying to use a variable to set image width
- No more get_option(‘date_time’) in WordPress 5.5?
- How can i avoid duplicate same post in wp?
- Drop down question
- Display a custom name when the user has no name settle in his account
- wp_update_post gives 500 internal error
- WP Hook Before a post is created
- WordPress Plugin Development – get_option error
- how to add new PHP page in WordPress plugin
- How do I disable cache for a certain page?
- How can I get my WordPress plugin to receive data and relay it in an ajax/php request to a remote server that requires authentication?
- code that I can run, or a plug in to show what sql tables something pulls information from
- Automatic email message after manual user approval
- How can I update the price when someone enters postcode or zip code in woocommerce checkout page?
- Submit remote form to wordpress REST API and save data to custom post type
- How to check if plugin update process completed in wordpress?
- Foreach Loop Of Post Types With Nested If Else If Not Completing Process
- ACF relationship on user profile page used for allowed access
- How to identify which php file a plugin is using on page load?
- dashboard widget form not submit mails
- In a foreach loop, how can I add a meta value if it doesn’t exist?
- Looping through and combining calls to Woocommerce REST API
- Should I use wp_cache in my plugin to make it faster?
- custom mailchimp form using HTTP API
- How to override theme’s public static function inside of a trait?
- pass datetime using wp_localize_script to frontend from settings page
- add custom metabox to media library custom widget
- using filter and hook inside class
- 400 bad request admin-ajax file upload
- Store user form submitted information in post type
- Constant expression contains invalid operations plugin class properties visibility
- How to import woocommerce custom fields data into another site?
- get Woocommerce product format json for WP_Query
- Display attached images of a page or post that are insetred using gallery
- overwrite wordpress gallery with custom gallery shortcode
- Add a custom link to each image in WordPress gallery