Just add a custom hook to your template:
<body>
<?php do_action( 'wpse73370_custom_hook' ); ?>
Related Posts:
- Where can I find a list of WordPress hooks?
- Difference between after_setup_theme and init action hooks?
- get $post in init filter or action?
- How to intercept a 404 error
- Move excerpt meta box to above content editor
- Whats worth using add_action when we can simply use add_filter?
- add_action(‘wp_ajax_[action name]’, myfunction) problem
- Hook on trash post
- Adding onload to body
- What is the earliest possible hook for safely using `is_front_page`?
- Send data to 3rd party api with wp_remote_post on wp_login
- How to customize the WP admin default help contents
- Hide gutenberg option blocks
- Make W3 Total Cache “Empty All Caches” function purge varnish [closed]
- admin_post hook not called
- deactivated_plugin hook: get the name of the plugin
- Is there a hook for user activation (after they click the email confirm)?
- How to debug removal of rewrite rule flushing?
- function ‘wp_enable_block_templates’ not found
- Why does wp_enqueue_script ignore my ‘wp_head’ hook?
- How can I add a default description to uploaded files?
- Hook Widget to Woo Theme in functions.php
- Security around save_post hook
- How to pass arguments to add_action() [duplicate]
- action lifecycle
- How to use the post_updated hook before and after arguments
- What is the best filter where to use register_block_type?
- How get list all users who edited post?
- Check if do_action(‘custom_action’) is hooked into?
- I don’t understand why I shoud use lostpassword_url hook?
- How to get session token of current user in wp_login hook?
- wp_login Action hook with conditional tag
- Can I remove WooCommerce main content hook?
- How to alter the query using pre_get_posts hook and is_post_type_archive
- Hook any php file into the wordpress api
- WP CLI Get all Enqueued Scripts and Styles
- Delay an action until current action is completed
- How to properly setup an activation hook
- How to remove scripts/style added to customize_controls_enqueue_scripts hook by current active theme
- Help to change the text for new website notification (wpmu_welcome_notification)
- How to remove query string from current page URL?
- How can I count post views of REST API calls and update them in an ACF field?
- Plugins rewrite rules the right way
- Strange behaviour with add_{$meta_type}_metadata | add_post_metadata filter
- Is there a hook that fires when a row of wp_sitemeta table is updated?
- Add nofollow to custom widget posts
- Change Password Confirmed Email Text
- Hook when editing user
- get_post_metadata causing some meta data to fail
- Register form: add custom field BEFORE default fields
- Custom Front End Registration – How Does the Key work in the Password Set Request?
- Lock user information once fields have been filled in
- How do I prevent term from being created on create_term hook?
- save_post hook to add terms getting deleted when using bulk edit
- Hook function prints output twice
- Hook priority in admin with custom plugin
- Add Different Actions To Different Page’s wp_footer
- Getting the post ID in parse_query
- Remove genesis_404 hook from genesis_loop [closed]
- What hooks do I need to hook into to capture ever wp_user creation/change?
- Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?
- Adding custom Bulk Actions
- How to hook in to the “output buffer” and add html content
- Print results of a WP_Query to wp-admin/upload.php within ‘delete_attachment’ hook?
- upgrader_process_complete filter not fired using ajax updates
- How to debug wordpress hooked functions?
- Is there a way to Insert a post to post list?
- “Intercept” enqueing of 3rd party’s JS file
- How to call do_action() to pass arguments to hooked functions that take different number of args?
- Is it likely that do_action will have unexpected results?
- How to export category name and category link in wordpress json
- Error later wordpress 5.3.2 update. Please help
- How to abort a save operation with a WordPress hook?
- is_page not triggering
- admin_post_(action) hook create console log error
- Check if front page within function passed to action
- Hook after creating a post and retrieve infos from this post immediatly
- Display custom debug info inside page and not before head
- calculate values from a field and insert them into custom fields when publishing or updating post
- $new_pass always returns null – password_reset hook
- How to resolve 500 error in post listing page?
- Object oriented programming, add_action in constructor not firing
- Get new (not old) post inside transition_post_status hook
- How to Show Different Information to your authors/contributers
- Cannot override hooks.php
- Removing action from template class
- Remove “enqueued” script from array
- theme functions (hooks)
- Function is Missing an Action Hook
- frontend show edit profile with selected custom options
- How to access variables in the function where apply_filters() is called?
- How to change Akismet commenter privacy notice?
- How To Apply Different Styles To All Blocks Based on Post Meta Value?
- PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered
- How to add action in wordpress custom plugin?
- getSaveContent.extraProps hook for core/post-title doesn’t add new attributes on to the frontend
- How can I get the ID before after_setup_theme?
- Hook on opening a media/document
- Hooks to trigger a callback when adding, removing, rearranging or updating a widget in the widget area
- Why does before_delete_post run when opening a post in the backend?