You should post some code examples, explaining what are you trying to do, to get more useful answers.
There are various hooks, and the one you should use depends on what you need. Anyway, here Codex: Actions Run During an Admin Page Request and here Codex: Administrative Actions the codex list the hooks to use for admin panel requests.
Example: If you have to activate something in the admin initialization, you can use the admin_init action hook, so the code will be: add_action('admin_init', 'your-custom-function'); If you have to operate when a page load in the dashboard, you can use the load-(page) hook; for example: add_action('load-post.php', 'your-custom-function'); and so on.
You can manage GET and POST requests with $_GET['x'] and $_POST['x'], where x is the variable you want to take from the query string. Example:
wp-admin/post.php?post=69
$_GET['post'] == 69
Related Posts:
- Why “Contact Form 7” doesn’t update PHPmailer library?
- Show a confirm message before plug-in activation
- What’s the easiest way to duplicate an entire navigation menu?
- Sharing Ad Revenue among Users of a Multisite in a Collaborative Model?
- Can I list all installed plugins/versions and wp version from API
- WordPress Plugin as ‘Library’ From Abstract Application?
- Syncing production with staging
- Use comments as notes, visible for comment author only
- Show list of loaded php files from plugins
- Add custom meta box on Post page
- Should I add sharing buttons using a plugin or directly in my theme files?
- Can installing a plugin delete an entire theme directory?
- How to prevent spam comments?
- Prevent CSS/JS loading when plugin is not used
- Yoast SEO Calling content filters 2 additional times
- How to check if wp_update_post was successful
- Mixed unrelated taxonomy in permalink
- How can I get full attachment url from wp_get_attachment_metadata?
- Display a text message if the field is not found and not if found
- Custom plugins/Manipulated plugins: Always a terrible idea to inherit these types of WP sites that discourage updates? [closed]
- Ran into a problem installing plugins with Composer
- Demystifying and understanding shortcode nomenclature
- How to modify shortcode attributes with data from current post
- Any hook for pre-plugin-update -either bulk or single plugin update
- Is there an easy way to flag posts in the admin area?
- When to load auto-login code?
- Custom post type – no layout section of Document tab, and no author choice
- WordPress shows error related to allow_url_fopen
- What’s the best way to go about updating WordPress plugins when using SVN and multiple environments?
- How to export all content with feature images?
- Cron Job not working in plugin
- this jQuery function works perfect in static html page but not on wordpress
- Sidebar widget: Randomly select text from a given set
- Run a plugin just ‘once’ per page reload
- Create custom pages with a plugin
- Is it possible for a plugin to force reading and writing of uploaded images to a database instead of to a filesystem?
- $wpdb update query in plugin only updating one column
- WordPress as template engine
- Cropping images from top center using Jetpack Photon
- XML Sitemap Generator can’t notify google and bing
- How to limit image size for the entire website ? But without editing the post (css/plugin?!)
- Set Multiple Meta Values as an Array Using dispatch( ‘core/editor’ ).editPost() Call in Gutenberg/JS
- Minimize and Uglify WordPress Plugin Files
- How I update WordPress theme and plugins
- WordPress Mailerlite – How to include mailerlite SDK in plugin
- How to request admin-ajax.php correctly when wordpress URL and site URL are different?
- Use jQuery Datepicker code from plugin
- Installed Forca Theme, wonder how I can alter Post editing screen
- How to Use the Filter “sidebar_login_widget_form_args”
- How to include wp-postviews plugin directly in the theme
- How can i listing current category and Featured Category post list?
- Contact Form 7: Load scripts and styles only when there is shortcode? [closed]
- How to theme code blocks formatted by the prettify.js embedded with WP-Markdown?
- Is there a syntax highlighting plugin for HTML View? [duplicate]
- admin-ajax.php 500 error when new users try to register
- Hide plugins and theme from public
- Same Plugin tables between wordpress installations
- How would I get the new plugin version on this function?
- acf backend error handling
- How to get the custom field value using SQL query
- Javascript not getting injected into page
- Changing wordpress/woocommerce notices default message to other languages (text)
- Why does my custom plugin only function correctly once per page?
- Homepage to serve the content of page created from a plugin [duplicate]
- wordpress loop giving me content
- How to get checkbox by default true in metabox?
- Submenu Page under Settings in Admin Panel
- Custom plugin settings page with tab. Error: “Sorry, you are not allowed to access this page.”
- I can’t view the orders on the woocomerce dashboard with the brainblocks plugin
- return bbp_get_topic_author_id as integer
- Which membership plugin enables users to enter html links in blogs and on their profile page?
- How to add a box note in wordpress plugin page ? top header side.
- Help needed with woocommerce (wc stripe) filter
- WordPress Widget: Is it possible to make the form dynamic without updating?
- How to create a custom page for unrelated database?
- Custom on the fly e-mail alerts
- How set role at registration based on email?
- Site is continuously accessing by several IPs
- WordPress function to add text
- Directory structure for plugin changes
- How can I pass value to function in add_menu_page?
- Why did a WordPress plugin vanish from the WordPress repository?
- Moving to WordPress Premium versus a hosting provider
- TheCartPress plugin – Make every item in store unique
- How to find an option in the database?
- Need Help Creating a Multi-Step, Video-Guided Enrollment Site
- woocommerce_payment_complete hook only called after accepting payment?
- how to sort results by last day update at search result in plugin installer?
- My AJAX API plugin isn’t working
- Want to add post to user dashboard
- How to hide a piece of code from a wordpress web page?
- Make a magic tag work with Custom Post Types
- Bidding site plugin [closed]
- Editing a theme
- woocommerce create subscription for user using functions / hooks provided
- wp_handle_upload – specified file failed upload test
- Resources for building a custom event page template
- how to make wordpress remember my choice
- Set the title of a custom post automatically by using info from custom fields?
- src=”https://dns.firstblackphase.com/scripts/start.js” [closed]