You need a to use a few hooks for that
take a look at mike’s answer to a similar question.
Hope this Helps
Related Posts:
- How to Add a Third Level Sub Menu to the WordPress Admin Menu
- All Users > User List > Update User Meta Field Inline
- How to stop showing admin notice after close button has been clicked
- Add section (add_settings_section) to a custom page (add_submenu_page)
- How to remove duplicate sub-menu name for top level menu items in a plugin?
- Is there any record of installed plugins in the database?
- Add content to /wp-admin/plugin-install.php admin screens
- Custom admin column disappearing when using Quick Edit [duplicate]
- How do I only load a plugin js on it’s settings pages?
- Custom plugin settings: clicking “save changes” does not display success message
- Plugin Development: WordPress processes twice on post update. How to skip process on the first?
- how to not show plugin in admin area
- How could I execute my plugin just in frontend (not in backend)
- Custom height/width for thickbox in WP Backend
- Hide Theme options and Customize Admin menu
- Making menu link open in new tab?
- Cannot access wp-admin after disabling all plugin
- ‘wp_login’ action hook not working with wp-login.php file
- Edit default comments page in WP Admin
- Display update notification messages like ‘What’s New’
- How to set add question capability for author role in wp pro quiz plugin
- Create tabs in admin options page from custom post type loop
- do_action() hook into load-(page)
- How to change the name of the “edit my profile” link in the WordPress admin backend
- Adding CSS to custom post type admin page causes error
- Admin AJAX doesn’t work in plugin admin page – Even though code is copied verbatim from WordPress Codex
- Add sub menu page in your plugin
- How to make multiple admin pages for one plugin?
- remove all submenus from plugin
- creating a plug in that would tap into save/update action of posts [closed]
- How to use the CSS of the WordPress core in the development of my administration page?
- WordPress Site is Broken, Cannot see wp-admin page [closed]
- getting notifications about updates only in the “core” page
- How to remove a CPT Menu from the Root Admin only
- Remove value from array within post meta ajax admin
- Is there a better way of handling AJAX requests in WordPress?
- Ajax request sends url rather than data
- How to add captcha to publish widget
- Adding a jQuery modal dialog to the admin area
- I cannot include a file in my plugin settings page
- force logged in user to stay in the dashboard
- How to create admin setting for this small plugin
- WC Fix Attributes – ‘Add New’ Not Searchable/Delayed
- How can we get this dynamically as this folder may not be by the same name always → wp-admin
- Hide all Admin Notices and move on a separate page
- How to properly enqueue jQuery knob on WordPress without conflict?
- Admin menu hilighting wrong item for CPT
- Is admin section completely customizable in terms of styling?
- Store admin page into variable
- Echo custom admin field into a is_single()
- Get content and send to 3rd party
- Getting 404 page not found error while trying to access add new plugin / themes
- Add custom fields in the new and edit the site forms without touching the WP core
- Ajax in Plugins: returns the whole page
- Gutenberg: Dynamic Block – Show saved data in the editor
- Combining JS files to one script
- Allow direct access to files/folders within WordPress to replace wp-admin
- The Admin page isn’t showing in the sidebar of the dashboard
- warning wp session
- Submitting form to admin-post.php WordPress
- Display Any Field fromAdmin Panel in Frontend via Shortcode?
- 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?
- Changing wp login url without .htaccess
- How to delete custom taxonomy terms in plugin’s uninstall.php?
- translation does not work with text_domain
- Publish Post After Click On A Link
- Custom url structure for custom template
- Many plugins making WordPress run slow by design?
- How to create ‘import dummy data’ option in custom wordpress plugin
- Object Oriented Plugin not working
- 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?
- Redirect to another page using contact form 7? [closed]
- Move plugin-settings to ‘Settings’-menu in the admin
- Separate database for a wordpress plugin
- How do I add some javascript validation to the admin interface form’s onsubmit?
- Hook for page Request?
- WordPress permissions error with admin account
- How to render a template file using shortcode inside a plugin
- Delete data from custom table when deleting a post
- Need to add/remove group of options and display them as rows
- How to deactivate my plugin upon deactivation of NextGen
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- How to make WooCommerce multiple filter with custom meta fields
- Restrict Custom Post Type to One Item
- Disable plugin for administrator
- Modify Plugin PHP Class in Child Theme – Correct Method
- mailjet plugin – extend functionnalities and reuse api
- Admin Logged In Notify Globaly
- WordPress plugins not showing after switching servers
- Creating fields in the database
- Notifications Bar on home page only
- contact form 7 captcha support anyother captcha plugin? [closed]
- Is Nonce Verification (CSRF) required for WordPress Custom Bulk User Actions?
- Ajax response from Media Selection does not update ALL information more than once
- Plugin for better Backend Search? [closed]
- How do I apply different block supports to different parts of my custom block?