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
- How to get WordPress Time Zone setting?
- Is get_option function cached?
- When to use Exceptions vs Error Objects vs just plain false/null
- WordPress URL Rewrite not working
- How to find out if option exists but is empty?
- Saving Plugin settings to the database
- Enqueue Javascript Correctly for 3.5
- simple wordpress ajax plugin not working when not logged in
- Why won’t register_setting() create a setting?
- Saving metabox repeatable fields
- how to create and show sessions in word press?
- do not show web page section when using advanced custom fields pro
- How to get all existing post types
- Using wp_get_image_editor in a standalone script
- New Plugin Review
- Create custom blocks for bootstrap
- Continue execution after WP REST API response
- WordPress Ajax Custom Query – High CPU LOAD
- action hook wp_head higher priority as all other plugins/hooks
- Query String being Removed Creating a Pagination Issue within a Custom Plugin
- WordPress setting with select – where is my mistake?
- Update Option Error: Notice: Undefined index
- wp_insert_post() is returning the correct post ID, no failure, but the post content does not get updated
- WordPress Scheduled Event Request Blocking
- How to set up VS Code for WP plugin/theme development in 2021? [closed]
- Saving an array of dynamic repeater data as post_meta
- WordPress wpform plugin submit and get multiple checked value from checkbox [closed]
- Improve page speed loading using CDN and async or defer attribute
- How to call plugin function per site in a multisite?
- Script to browser problem PHP
- Store a default value for a transient on plugin activation
- wp_head function not outputting
- wp query foreach deleting record returning only first or last item
- PHP > Scheduled Tasks > Sending daily email with dynamic API variables
- How to make own crop image function for WordPress plugin
- WordPress Custom field Colors
- wp_insert_post: array only. wp_update_post: array|object (?)
- Warning: Illegal string offset on theme options page [closed]
- Link blogname and blogdescription to the Options Framework
- retain querystring values when savincustom options in admin
- Building a REST API for your web app exposes primary keys of DB records?
- How to remove the message ‘We could not find any results for your search’ without changing template files and without adding posts/pages?
- Reading settings in the home page precisely home.php
- Custom Registration username_exists / email_exists
- How can I search all plugins for composer’s vendor/autoload.php?
- Action Hook Inside WordPress Plugin Shortcode
- WordPress language switcher doesn’t work
- Submit form to db
- PHP using external anonymous function inside class
- Add Pre-Defined Value to Click Counter in WordPress
- No more get_option(‘date_time’) in WordPress 5.5?
- Drop down question
- 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 to check if plugin update process completed in wordpress?
- 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
- Display attached images of a page or post that are insetred using gallery
- overwrite wordpress gallery with custom gallery shortcode
- Enqueue sripts and styles only if function is called
- Add widget area from visual editor
- Register/enqueue scripts only on certain admin pages
- Looping through custom data in a custom table to display all items in a post
- How to properly escape in ternary operators – Wp Coding Standards?
- not able to access $_POST on backend profile update
- How do I add a textarea (multirow) option to my WordPress plugin?
- Echo Option Value Based On WordPress User Role
- Custom Plugin Develoment, Form Action
- WordPress Query Crashes Browser
- How to Request a User to Register on Landing at a Site, Then Automatically Delete the Users Password on Logout?
- Plugin Modification Change Functionality For Logged User Only
- INCOMING: Wall of code for form and $_POST, not updating custom field’s value
- add shortcode heading showing multiple time
- How do I build a settings panel under the plugin
- Add_menu_page and saving settings
- WP multisite network plugin fails to see classes loaded with spl autoload
- AJAX & PHP | Call a specific PHP function from a PHP file via AJAX?
- What is this mark for “? function()” [closed]
- using a shortcode in a hyperlink
- Authenticate + Authorize WP REST API request before built-in WP JSON Schema Payload Validation?
- Woocommerce Convert existing order to the cart
- Redirect posts to post editor page based on query string
- Load style and script for custom post type metabox
- Permissions error when I use my plugin to delete comments in the front-end