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?
- Advice on naming files for a plugin
- Output in XHTML or HTML 5 for plugins?
- Save and retrieve custom plugin options value
- How to access options of Redux framework in front end
- Using tabs for wordpress plugin
- How do I add a widget programmatically to a newly created site (WPMU) within a plugin?
- How can I save repeatable fields with one value inside an array?
- Rename existing old uploaded images containing accented French characters (not during upload)
- Prevent page slug from interfering with custom post type archive permalink?
- wp_verify_nonce() why return false?
- flush_rewrite_rules() not working on plugin activation
- Determine plugin name from within plugin_action_links filter
- Plugin Functionality Only for Editor and Administrator
- How do I turn a custom post type into a plugin?
- Add keywords meta to index.php page
- Does WP identify plugin by plugin name or plugin_basename?
- How to create a custom post type that contains another custom post type?
- Count posts by type including drafts and pending posts
- WordPress Multisite: Programmatically Activate / Deactivate a Plugin of a Specific Blog
- composer not working on my plugin when i upload it to my website
- What is the WordPress approach to custom data?
- How do I create a custom permalink structure for a page template
- WordPress Fatal Errors [closed]
- I want to filter my products with attributes [closed]
- How to rewrite URL and get the values?
- Disable plugin visibility at the plugin directory
- Widgets are not displaying in the admin panel
- How to overwrite the category template in a plugin
- Content-Security-Policy implementation with WordPress W3Total Cache plugin installed
- show wc_add notices on particular page in woo commerce custom plugin development
- How to write different events from different functions in my file to a log file in WordPress
- Create a form and have custom menu display based on user answers?
- How to make a plugin api route have permission?
- Why my multisite is this slow? (stats inside)
- Problem with conditional woocommerce custom checkout field
- trying to create simple plugin to filter categories from all authors
- Change wp_mail SMTP settings for each E-Mail
- Proper Failure of Plugin Activation
- WordPress Thumbnail add action if no thumbnail
- Change post permalink to external URL from custom field
- How can I add the custom taxonomy categories to the posts and pages?
- Pass strings to plugin function [closed]
- How to create a page template using custom plugin
- WordPress 3,5 and Jquery version
- Function not being called on form submit, only blank admin-post.php page
- 404 Error on a WordPress Website, Error disappears for a while and again appears
- How to give specific class name to category in wordpress with code snippets
- WordPress.Security.NonceVerification.Recommended
- BBPress Customization with Custom Plugin
- Custom Gutenberg blocks not showing in WP editor