To hook your custom plugin settings into the Permalink settings, use the following:
add_action('admin_init', 'wpse_237141_custom_permalink_section');
function wpse_237141_custom_permalink_section() {
add_settings_section(
'your_custom_id', // ID
'Your Plugin Settings', // Section title
'your_callback', // Callback for your function
'permalink' // Location (Settings > Permalinks)
);
}
You’ll need to fill in the blanks to display your own custom functions, but this will now display your settings in the Permalinks.
Related Posts:
- How to call a plugin function from index.php
- Rewriting every url
- Where can I find a schema of wordpress plugin core architecture?
- How to Loop Plugin Option Field Set?
- How to handel multiple checkbox field in the admin settings page with Settings API
- Custom plugin settings: clicking “save changes” does not display success message
- 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
- Passing URL parameters to WordPress pages and pretty url
- Publish Post After Click On A Link
- How to get the custom page get_permalink?
- Custom url structure for custom template
- How to get the permalink of a page when loading my plugin
- Wp die causing 500 Internal Server Error?
- Why this global array is returning NULL from a callback function
- How do I add a custom sub menu menu under Woo-commerce marketing?
- How to change custom post type pemalink Hierarcy
- How to get specific setting by settings_fields()?
- Add Plugin options as subpage to Theme options page
- Modifying Author Link to add Author Meta in URL
- Checkbox conflict in my custom plugin admin page
- Perform internal redirect in WordPress?
- Change the display of Settings API (do_settings_sections)
- How to get the permanent link in a plugin?
- Settings API saved values not getting shown in the dropdownbox
- Can I use register_settings and unregister_setting once the settings page has loaded?
- flush_rewrite_rules() not working with update_option_{$option}
- Add_rewrite_endpoint doesn’t work with post name permalink structure
- How to embed a new string in url?
- Make get_permalink() work outside the Loop using filters
- help intercepting save_post through plugin
- How to make sure settings are not lost when plugin is updated?
- How to save Setting pages data to the database?
- WordPress Frontend Page using Plugin
- Child theme modifications not showing up
- Create new page in wordpress plugin which doesn’t exist
- Getting Fatal error: Uncaught Error: Call to undefined function plugin_dir_path() when linking to another file within my wordpress plugin
- Changing author slug for a custom role without using plugin
- Custom author page for custom role
- Custom role not listed
- How to save the option’s new values plus old value without overwrite old one
- Is it possible to change plugin’s Admin Panel Url?
- 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?
- Coming soon pages with rest of site in maintenance mode
- Validating values using Settings API?
- Site is setup statically – how to make it content managable?
- move setting data from wordpress api to codestar freamwork
- claim a permalink and all sublinks in plugin
- When to store store plugin options as a single database record?
- Help Needed: Issue with Change Permalink on DirectoryPress Listing Pages
- Woocommerce plugin for minimum order and add-to-card-step
- Self deactivate plugins after an action occurs
- How to get current post user id
- UnInstallation of a Plugin from a developers perspective – The correct and clean method
- Issue with adding count to “subsubsub” aka quick links on custom_post_type
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- How to slice an array using posts_per_page? [closed]
- White page on custom plugin option submit
- Simple ajax call not working in wordpress plugin
- Plugin version is not showing up in wordpress.org plugin directory
- Do action only on certain front end pages?
- Change plugin main file name (that is currently in the repo)
- Create dynamic page content from custom WordPress plugin page
- Plugin Options Not Saving to Database in WP 4.5
- How to periodically scrape and cache strings from remote txt files. – My First Plugin
- How to create ‘import dummy data’ option in custom wordpress plugin
- Call to a member function have_posts() on a non-object on normal loop
- JS Support Ticket – Auto create WP account
- Redux Framework has an embedded demo. Click here to activate the sample config file
- WP Post Template – Templates in own folder
- Register Page Template from Plugin
- Load custom PHP on a custom URL via a plugin
- Private Plugin Updates – Localhost
- Any hook for pre-plugin-update -either bulk or single plugin update
- Get plugin option in another PHP file
- wp_create_nonce function doesn’t work inside a plugin?
- Test files for plugin development
- Input with spaces in Shortcode attributes overwritten by defaults
- Unable to override pluggable function wp_mail
- Avoid class name collision when using third party libraries in plugins?
- Media upload not working on theme option in WordPress 3.8.1
- How to create custom tables in WordPress using my own plugin?
- New User Form – Custom Menu Page
- Own plugin corrups plugin-activation
- wordpress plugin is not activating from widget
- All Users > User List > Update User Meta Field Inline
- Checking instances of scripts in wp_head
- How to save post change url youtube link?
- Best approach to fetch data from wp options to js file or php file
- Correct way to perform non-cacheable DB query
- Allow users of my plugin to define their own shortcode rather than use mine?
- Is it possible to create Custom Post plug-in?
- resetting permalinks after changing page names
- uninstall.php file in Plugin to clean DB
- Archive – same title for the first two posts
- Creating a plugin to sanitize comment and the url field before display only
- Edit Yoast SEO breadcrumbs output [closed]
- Creating plugin using simple_html_dom parser?
- Object Oriented Plugin not working