The two are not the same thing at all, and likely you’ll use both.
The Administration Menu stuff shows you how to create the menu item and page for your settings to live on. In other words, the menu item in the left hand bar, and the existence of the page itself.
The Settings API is what you use to actually build the contents of that page (the table of settings, form fields, and submit button), and to then process the data coming back from it.
Related Posts:
- how to save checkbox data for custom setting?
- How to fix the admin menu margin-top bug in WordPress 5.5?
- How can I save a multiple select array with the settings API for a plug-in options page?
- Remove Customize Background and Header from Appearance admin menu without CSS or JS
- renaming an admin menu item with decimal array index number
- Admin Menus – Name Menu different from first Submenu [duplicate]
- How can one utilize a variable as a callback function name for add_settings_field
- How to Add a Link to the Drop-Down User Menu in the Admin Bar?
- How to get bool with `get_option()` when already registered setting with type `boolean`
- Why can’t I use “%s” format value in the WordPress function checked?
- Create Logout Link WordPress Admin Menu
- Settings API – sanitize_callback is not called and it leads to an incorrect behavior
- Implement toggle switch for theme options in settings API
- Set the checkbox as checked by default at options page
- Fatal Error relating to sessions.php
- Whitelisting items from custom options page
- Settings API callback function inserts html quotes from nowhere
- Pagination in plugin’s backend
- Uploading files using the Settings API
- Get URL Parameters from referer
- Saving plugin settings – ERROR: options page not found
- Change order of custom submenu link in WP Admin?
- Get categories names as an array to use it in theme settings
- register_setting & add_settings_error validation issues with multiple fields
- Admin submenu issue with PHP not detecting two strings as equal
- admin-ajax GET response bad request
- Reading settings in the home page precisely home.php
- Some menu items wont budge
- Remove submenu item from list
- Admin Menu new tab external link
- Cloning add_settings_field() with jQuery
- WordPress Settings API unable to save settings
- 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 call a WP Class inside my theme
- image on homepage disappeared due to change of permalink name
- Add Admin Option w/ Anonymous Function
- add menu page in loop menu order
- Issue with search form admin panel after PHP migration
- WordPress Setting API – There is no field in options.php
- WP Admin Bar – Get current theme name as custom menu title
- admin menu naming
- How to call a certain object/menubar in a PHP file
- Undefined index notice when using the $args parameter in add_settings_field()
- Add Woocommerce Customers link to custom admin menu
- how to test for options(fields) in settings API?
- How to access admin menu labels and links on front-end?
- Trouble with WordPress Settings API: Form Submits When Fields Called Directly, Fails When Using Callbacks
- wp_get_archive for category returning different URLs on different but similar sites
- How does add_action ‘comment_post’ work?
- Showing Subcategory’s Name and Link Instead of Parent Category’s
- How can i call the facebook #hashtag images on my site
- Widget header unique classes
- Error trying import one category on page
- Show Nav Link To Users Signed In
- WP Simple Fields – Single repeatable field inside repeatable field group
- WordPress $GLOBALS and PHP $GLOBALS
- What is the best way to get the first few post from WordPress in different divs using a loop?
- Banner editable from backend
- Display WP posts in 3 responsive columns
- get_post_meta is always empty when I use wp_mail
- How to access WOrdpress functions from within a class
- Shortcoding with Divs
- Get string from array and start loop [closed]
- why is this content-template not showing any of my blog-entries?
- how to register a second page-template
- how to manipulate HTML parameters using PHP conditions
- Missing items on page
- WordPress rewrite question
- Run php function after html click after page refresh
- Adding javascript files to WordPress and jQuery version
- How to get the count for each taxonomy term
- Display default WordPress login/registration form into a modal window
- Get all the contents of taxonomy and sort by term
- Metabox Input Not saving
- Gallery requires a featured image but does not show it in posts/pages
- Using Nonce for my Form
- Run A Pre-Built Core PHP Application Under A WordPress Page or Post Route
- Transient Loop Not working as expected
- WordPress TinyMCE Add Button To The Full Screen Mode Editor
- My custom widget won’t stay in the widget area after I refresh the widget page
- Add Custom Post Type on the Fly or create an array
- key( $GLOBALS[‘wp_registered_sidebars’] ) is always showing the same value
- show/hide attachments
- To call hook on a php external file
- How can i list all user registered on my website and have pagination [duplicate]
- Create new folder and upload files to custom folder via wp_handle_upload
- Restricting Post Content Visibility with Custom Code – where to put it?
- two sites, same code, different presentation
- Highlight main menu when on specific posts or pages
- WPMU schedule doesn’t execute actions
- WordPress display name string manipulation
- Outputting a custom field in PHP
- Settings API – Checkboxes validation in a menu with multiple subpages
- need help to arabic text in wordpress
- Where to place PHP for shortcodes
- Magento and WordPress URL integration [closed]
- Sorting Meta Fields?
- Hide a div from a particular page and single pages in WordPress