The problem is your validate function RSP_options_validate()
. This function always a empty string. Check your conditional statement with preg_match
.
If you test your source without this functions, it works.
register_setting( 'RSP_options_group', 'RSP_options', 'RSP_options_validate' );
to
register_setting( 'RSP_options_group', 'RSP_options' );
Related Posts:
- How to find out if option exists but is empty?
- Custom plugin settings: clicking “save changes” does not display success message
- How to fetch serialized data from wordpress options
- Get all options saved by another plugin
- add action wp_head not working
- Why is the Settings API is not saving my array of options
- Default Plugin Settings Not Writing to Database
- Update Option Error: Notice: Undefined index
- Serialize data for wp options
- How can I add an options page for my class based plugin?
- Get plugin option in another PHP file
- How to get specific setting by settings_fields()?
- Add Plugin options as subpage to Theme options page
- php page not found for plugin options menu
- add tabs in rdp-plugin/includes/settings.php and get settings saved
- Redirect to another page using contact form 7? [closed]
- WordPress error: Options page Setting_ not found in the allowed options list
- Can I use register_settings and unregister_setting once the settings page has loaded?
- update_option_{$option} not showing old value
- How to prevent plugins from sniffing/stealing other plugins’ options?
- get_option / wp_localize_script Not Working in OOP Plug In
- Need to add/remove group of options and display them as rows
- How to get values from network settings panel?
- How to make sure settings are not lost when plugin is updated?
- wp_options not returning value for logged out users?
- How to save Setting pages data to the database?
- Problem with MEMCACHE and Redis with wp_options
- Plugin Options Page and Subpage
- How to save the option’s new values plus old value without overwrite old one
- WP options plugin setting not saving the selected checkboxes
- Echo custom admin field into a is_single()
- Protect WordPress option value
- 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?
- Why is the WordPress update_option not working in this code?
- How to create a new database table whenever user changes options
- Create Array from data in the OPTIONS table
- Validating values using Settings API?
- Saving an array to get_options
- Building a simple “settings” plugin to change textstrings on the home page
- How to access values from your own settings page in javascript?
- move setting data from wordpress api to codestar freamwork
- Update plugin from personal API
- Does a plugin’s “main” file need to be named the same as the folder containing it?
- Symlinked plugin directory doesn’t appear in Admin
- enqueue script only if it is not already enqueue
- How can I limit functionality in one version of a plugin?
- Plugin child folder?
- How use %like% in sql statement wordpress
- Can I use a form in a dashboard widget?
- Retrieving plugin options value saved through setting
- How to ‘clone’ a wp plugin to make small changes
- Why slash is removed after domain?
- MITM risk of not sanitizing?
- Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block
- How to slice an array using posts_per_page? [closed]
- Enqueue WordPress plugin scripts below all other JS
- White page by using filter template_include
- Is there any kind of theme on WordPress to sell my own movies?
- User switching only with specific role and return
- Fromcraft Plugin On click submit button [closed]
- Suggestions on Approach to New Plugin I’m Stuck On
- How to redirect users to their profile after they successfully edit their profile
- What is wordpress way to access a plugin’s classes/models to load custom post type data?
- flush_rewrite_rules() not working with update_option_{$option}
- How to ignore extra whitespaces in translation functions like _e?
- How does translation (gettext) work for translating config file of plugin?
- The “Child Pages Shortcode” plugin, block template
- using wp_footer hook in a plugin
- How to get a custom page through plugin?
- Want to create custom design of progress indicator in wpforms
- How to prepare (compress/zip) a plugin to enable updating instead of adding new instance?
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- How to display the custom post related blog by category?
- WP Forms not displaying,becomming an fatal error
- How to dynamically add template in Innerblock?
- $wpdb->insert not working inside save_post tag
- Using foreach loop for `$instance` of form and update array widget iteration
- How to call a function from inside class to outside class
- Custom plugin which downloads updates from custom endpoint, extracts new version zip into a new name
- wp meta_query meta_value compare =REGEXP delimited by space
- Create shared actions for admin and users with plugin bolierplate
- How to insert variable which contain array value in wp_options table?
- How to Insert images in WordPress using code
- Javascript in plugin not working
- Theme editor removes backslashes
- shortcode which is introduced into entry the blog, and appears in side bar
- Widget Script Loads at Bottom of Page
- Plugin Hook: Get posts
- Multiselect value in wp_query
- How to Overwrite validate_plugin function
- Is an Office a custom post type [closed]
- How to add image for custom taxonomy
- WordPress Hooks : Where to place callbacks that repetitively yield the same effect?
- wordpress Ajax success doesn’t return the value
- How to open author url linked to a new tab in settings page in the WordPress plugin list
- How can I make my plugin detect if a certain theme is active?
- Plugin Block at the backend of every page or post
- Pulsing circle before the post title (Breaking news flash)
- How to provide page_template path in custom plugin using WordPress