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
- When to store store plugin options as a single database record?
- How to fix a Wordfence scan that doesn’t finish?
- Does WP identify plugin by plugin name or plugin_basename?
- switched from query_posts to WP_query, not working now?
- Making a plugin only available on the front-end for the logged in super admin
- qTranslate conflicts with SEO-plugins [closed]
- Create entire wordpress as a github repositery?
- Help With MySQL to WPDB Query Conversion
- When to load auto-login code?
- AJAX search posts and pages
- How to find the origin of a file upload from within wp_handle_upload?
- How would I go about creating a user ranked post popularity page?
- Plugin: Google Analytics for Dashboard error – Timestamp is too far from current time
- Updating the Drag-To-Share eXtended share URLs?
- Admin Theme customization
- finding whether request is for post, and post id
- Building plugin with changeable custom post type values…advice needed
- How to redirect a URL with parameters?
- How to get all of the activate_plugin action parameters?
- __callStatic method handler passed to add_action causes bug in PHP
- Enqueue WordPress plugin scripts below all other JS
- Display update notification messages like ‘What’s New’
- How to add Internationalization in WordPress using Javascript/React?
- Problem using Press-this book marklet
- CRUD and Frontend show from a custom table without shortcode
- Save / Show multi line text in metabox
- Creating mySQL procedure with $wpdb
- how to disable blockrenderAppender inside all Innerblocks?
- why doesn’t this update part of this plugin work? it take me to nothing here page
- Redirection of users away from wp-admin (but not administrators)
- WordPress Gutenberg react make import of __experimentalUseInnerBlocksProps which is no more experimetal
- Using a custom plugin to capture input data via Ajax and PHP
- Display post lists in 2nd paragraph
- Map Custom Registration Fields to WordPress User Roles
- Not able to add option in Sub-Menu under page
- How to stop activating a plugin and show admin notice when dependent plugins minimum version is not met
- Using a post-signup hook to get user details
- How to apply a patch via plugin?
- Fixing WordPress’s Bug (failed to send buffer of zlib output compression) results in “White Screen of Death”
- Nonce failing on form submission
- Disable woocommerce cookies and delete cart data automatically
- Ajax contact form widget plugin data not insert in database
- link bbpress forum discussion to blogposts
- Install Plugin via Code
- code is working properly in Core PHP but writing coding in WordPress
- Combine scripts from all extensions of the plugin when an extension is activated
- Creating a custom post type, adding custom meta fields, preventing all future editability of posts of this type