I had the same issue as you did, but I found how to fix it in this tutorial:
https://digwp.com/2016/05/wordpress-admin-notices/
Basically, I had my settings page outside of the Settings menu, so I had to explicitly add settings_errors()
to my options page and they started working. 🙂
Hope that helps.
Related Posts:
- How to get specific setting by settings_fields()?
- Can I use register_settings and unregister_setting once the settings page has loaded?
- How to make sure settings are not lost when plugin is updated?
- How to save Setting pages data to the database?
- How to save the option’s new values plus old value without overwrite old one
- Echo custom admin field into a is_single()
- WordPress Boilerplate Plugin doesn’t see callback functions for add_settings_field and add_settings_section
- How do I add a textarea (multirow) option to my WordPress plugin?
- Validating values using Settings API?
- move setting data from wordpress api to codestar freamwork
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- Is There a WordPress Hook to Filter the Edit Posts View?
- Add section (add_settings_section) to a custom page (add_submenu_page)
- Where can I find a schema of wordpress plugin core architecture?
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- How to Loop Plugin Option Field Set?
- How to find out if option exists but is empty?
- How do I only load a plugin js on it’s settings pages?
- How should I use register_setting, add_settings_section, & add_settings_field in my plugin’s options page?
- How to handel multiple checkbox field in the admin settings page with Settings API
- How can I include a setting that has a variable number of values in a settings page using register_setting?
- Saving Plugin settings to the database
- How to fetch serialized data from wordpress options
- Get all options saved by another plugin
- Add a Custom Permalink option in the Permalink Admin Screen?
- Settings API – input always updates over validation
- How to set CORS header?
- add action wp_head not working
- Wp die causing 500 Internal Server Error?
- Why is the Settings API is not saving my array of options
- Can’t get plugin settings page to save data
- Default Plugin Settings Not Writing to Database
- Update Option Error: Notice: Undefined index
- Why this global array is returning NULL from a callback function
- Serialize data for wp options
- How can I add an options page for my class based plugin?
- Get plugin option in another PHP file
- All Users > User List > Update User Meta Field Inline
- Display update notification messages like ‘What’s New’
- Add Plugin options as subpage to Theme options page
- Show admin notice on incorrect value on form field
- How to set add question capability for author role in wp pro quiz plugin
- php page not found for plugin options menu
- Checkbox conflict in my custom plugin admin page
- add tabs in rdp-plugin/includes/settings.php and get settings saved
- do_action() hook into load-(page)
- How to change the name of the “edit my profile” link in the WordPress admin backend
- Adding CSS to custom post type admin page causes error
- Change the display of Settings API (do_settings_sections)
- Redirect to another page using contact form 7? [closed]
- Settings API saved values not getting shown in the dropdownbox
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- WordPress error: Options page Setting_ not found in the allowed options list
- update_option_{$option} not showing old value
- remove all submenus from plugin
- Plugin getting Cannot modify header information errors
- creating a plug in that would tap into save/update action of posts [closed]
- How to prevent plugins from sniffing/stealing other plugins’ options?
- How to use the CSS of the WordPress core in the development of my administration page?
- get_option / wp_localize_script Not Working in OOP Plug In
- Update WP option by plugin
- How to save plugin custom settings page fields
- Need to add/remove group of options and display them as rows
- Ajax request sends url rather than data
- How to get values from network settings panel?
- How to add captcha to publish widget
- Adding a jQuery modal dialog to the admin area
- What is the most efficient way of adding additional functionaliy for admin only
- wp_options not returning value for logged out users?
- How to create admin setting for this small plugin
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- Problem with MEMCACHE and Redis with wp_options
- Hide all Admin Notices and move on a separate page
- Plugin Options Page and Subpage
- WP options plugin setting not saving the selected checkboxes
- Protect WordPress option value
- Get content and send to 3rd party
- Why is the WordPress update_option not working in this code?
- How to create a new database table whenever user changes options
- Option page not updating multiple records in settings api
- Add a checkbox in plugin options page and make it actually work
- Create Array from data in the OPTIONS table
- Saving an array to get_options
- Building a simple “settings” plugin to change textstrings on the home page
- My first plugin doesn’t save the data in options
- How to access values from your own settings page in javascript?
- Display Any Field fromAdmin Panel in Frontend via Shortcode?
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- Some Plugin Settings Are Kept After Removal and Reinstall of the Plugin
- WordPress hook for visiting a post
- Is it ok to call get_option without hooks?
- Set of plugins to control the Admin UI
- __callStatic method handler passed to add_action causes bug in PHP
- New databes tables with – WooCommerce – for developers [closed]
- plugin dev – minimum base css specificity?
- Custom plugin giving: wp-admin/admin-ajax.php 400 (Bad Request)
- Plugin hook breaks new WP 4.0 media library grid view?
- How to get site homepage from plugin?
- wordpress Ajax success doesn’t return the value
- Allow manage_options capability for specific user only for specific plugin?