Fixed!
function Setting_() {
register_setting( 'Set_my_options', 'My_plugin_header_logo' );
register_setting( 'Set_my_options', 'My_plugin_links_facebook' );
register_setting( 'Set_my_options', 'My_plugin_links_youtube' );
register_setting( 'Set_my_options', 'My_plugin_links_email' );
register_setting( 'Set_my_options', 'My_plugin_links_instagram' );
}
add_action( 'admin_init', 'Setting_' );
settings_fields( 'Set_my_options' );
Related Posts:
- Loading external page template and enqueue script from plugin causes 403 forbidden error
- How to get Login Error messages on a custom template
- 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
- Force plugin to fail activation
- 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
- Accessing GET variable named ‘error’
- 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
- CSV file generation failing
- How to get specific setting by settings_fields()?
- Python with wordpress plugin
- 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]
- Can I use register_settings and unregister_setting once the settings page has loaded?
- update_option_{$option} not showing old value
- Plugin getting Cannot modify header information errors
- 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?
- How do I create a state of “don’t assign anything to variable” if WP_Error throws an error?
- Why is the WordPress update_option not working in this code?
- A more elegant way to handle notices/warnings
- 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
- My first plugin doesn’t save the data in options
- The plugin generated xxx characters of unexpected output during activation
- How can I send api calls from my plugin?
- How to access values from your own settings page in javascript?
- move setting data from wordpress api to codestar freamwork
- Redesigning Custom Post Type “Add New” page
- Is there any record of installed plugins in the database?
- Using require_once in a Plugin?
- Custom headers for the WordPress plugin directory
- plugin wants to update to wrong plugin
- How can I add a custom header to a custom template in a plugin without using the theme folders
- Trying to avoid including wp-load.php
- AJAX Call Via Vanilla JavaScript In WordPress Plugin Development
- Custom values are not translated
- Make the plugin directory recognize new version numbers
- Plugin.php: PHP Notice: Undefined offset: 0 in
- Where do I add a new table’s name in wpdb?
- How to create popup same as wordpress popup feature
- How to customize user search
- How to make first_name and last_name required fields in user profile?
- Add get_option to jquery
- Making my plugin translation ready. Poedit not working
- Avoiding Duplicate function names in Post Loop (WP_Footer script)
- Can we use a webservice with WordPress?
- WooCommerce get_price returning wrong price when used via ajax
- New User Form – Custom Menu Page
- Checking instances of scripts in wp_head
- How to redirect a URL with parameters?
- Problem using Press-this book marklet
- How can I prevent my plugin go development trunk [closed]
- Best way to maintain and update 3rd-party WP plugin when developer is unresponsive?
- Are functions in main plugin file called before function bound to register_activation_hook runs?
- Best place for if/else piece of code related to custom plugin?
- How do you assign a UUID to posts/products/comments/reviews?
- how to do login using woocommerce rest api From android
- How to create a code editor for my plugin .?
- Manually set a custom admin sub-menu selected?
- Update a core option from plugin settings page
- a href adds default URL with the given echo URL
- Gutenberg Block Style CSS Class Is Not Applying on Backend
- How to create a plugin that includes all the other plugins?
- WordPress custom plugin that uses woocommerce enabled payment gateway for payment [closed]
- How use wp_insert_post and add og:custom tags?
- How to change “Read More” text?
- How to use wp_editor and save its data in wp_posts table
- Securing a plugin pop-up window
- Is admin section completely customizable in terms of styling?
- WordPress ajax error 400 bad request for sending data to remote site [duplicate]
- Better way to run heavy scripts using WordPress database
- Warning: Illegal offset type in /var/www/html/wp-includes/option.php on line 1924
- Jquery post responses 500 error after some time and lastly an 503 error
- Allow manage_options capability for specific user only for specific plugin?