embed_footer
Prints scripts or data before the closing body tag in the embed template.
Usage
add_action( 'embed_footer', 'wp_kama_embed_footer_action' );
/**
* Function for `embed_footer` action-hook.
*
* @return void
*/
function wp_kama_embed_footer_action(){
// action...
}Changelog
| Since 4.4.0 | Introduced. |
Where the hook is called
embed_footer
wp-includes/theme-compat/footer-embed.php 18
do_action( 'embed_footer' );
Where the hook is used in WordPress
wp-includes/default-filters.php 732
add_action( 'embed_footer', 'print_embed_sharing_dialog' );
wp-includes/default-filters.php 733
add_action( 'embed_footer', 'print_embed_scripts' );
wp-includes/default-filters.php 734
add_action( 'embed_footer', 'wp_print_footer_scripts', 20 );