embed_head
Action HookDescription
Prints scripts or data in the embed template head tag.Hook Information
File Location |
wp-includes/theme-compat/header-embed.php
View on GitHub
|
Hook Type | Action |
Line Number | 29 |
Hook Parameters
This hook doesn't accept any parameters.
Usage Examples
Basic Usage
<?php
// Hook into embed_head
add_action('embed_head', 'my_custom_function');
function my_custom_function() {
// Your custom code here
}
Source Code Context
wp-includes/theme-compat/header-embed.php:29
- How this hook is used in WordPress core
<?php
24 /**
25 * Prints scripts or data in the embed template head tag.
26 *
27 * @since 4.4.0
28 */
29 do_action( 'embed_head' );
30 ?>
31 </head>
32 <body <?php body_class(); ?>>
PHP Documentation
<?php
/**
* Prints scripts or data in the embed template head tag.
*
* @since 4.4.0
*/
Quick Info
- Hook Type: Action
- Parameters: 0
- File: wp-includes/theme-compat/header-embed.php
Related Hooks
Related hooks will be displayed here in future updates.