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
- Custom pages with plugin
- Update my custom WordPress Plugin through my own server [duplicate]
- Do plugin files have to follow a specific convention to be “picked up” by WordPress?
- Problems with autoloading classes via sp_autoload_register / maybe interfering WP-specific autoloader
- Advice on naming files for a plugin
- How to read configuration file in wordpress or PHP
- Echo simple string in Plugin
- Save and retrieve custom plugin options value
- how does wp.media javascript library work?
- How do I add a widget programmatically to a newly created site (WPMU) within a plugin?
- Can Not Redirect from Plugin-Registered Admin Page
- How to Reload the Dashboard After Clicking Update in Quick-Edit?
- flush_rewrite_rules() not working on plugin activation
- Determine plugin name from within plugin_action_links filter
- Having separate plugins and themes folder for multi-site setup
- Many plugins making WordPress run slow by design?
- Add keywords meta to index.php page
- How to create ‘import dummy data’ option in custom wordpress plugin
- What are the specifics of WordPress development I need to know? [closed]
- Insert data from .sql file in wordpress plugin
- How can i get the post’s full html source by its ID?
- Force file download on plugin activation
- How to change the name of the “edit my profile” link in the WordPress admin backend
- How can I add IP address to my post?
- add seperate suffix for low price and high price in woocommerce
- How to add/change (woocommerce) product tab icon
- Best way to retrieve data in custom api extended from wp-api
- How to set the default value as the saved value once a form of widget is saved?
- auto activate plugin when theme is active
- Where do I put the code snippets I found here or somewhere else on the web?
- Is it possible to pin a post in second position from top
- admin_notices show after load completed
- Error in Fetching Custom Post Type parent Category URL (slug)
- Activate Plugin Automatically After Set Time
- function post to trash problem
- How to call function in WordPress on button click?
- How can I see $post object in frontend from functions.php?
- Move plugin pages from dashboard to front-end
- Allow members to create groups on my site
- Get post content inside plugin class method
- Ubermenu 3 Nav Bar Customization
- View more posts of a sub-category
- Update Plugin Without Overwriting Custom Settings
- Create Array from data in the OPTIONS table
- How to create and use Custom hooks
- Custom Function for SEO by Yoast plugin
- Custom feed parameters / Template overriding
- wordpress select multiple options and illegal string offset ‘timeslot’ [closed]
- Creating Event Builder Plugin [closed]
- Hook for single product thumbnail
- How to get custom setting from get_option and pass it in getEntityRecords in gutenberg block?