embed_footer
Prints scripts or data before the closing body tag in the embed template.
Использование
add_action( 'embed_footer', 'wp_kama_embed_footer_action' ); /** * Function for `embed_footer` action-hook. * * @return void */ function wp_kama_embed_footer_action(){ // action... }
Список изменений
С версии 4.4.0 | Введена. |
Где вызывается хук
embed_footer
wp-includes/theme-compat/footer-embed.php 18
do_action( 'embed_footer' );
Где используется хук в WordPress
wp-includes/default-filters.php 698
add_action( 'embed_footer', 'print_embed_sharing_dialog' );
wp-includes/default-filters.php 699
add_action( 'embed_footer', 'print_embed_scripts' );
wp-includes/default-filters.php 700
add_action( 'embed_footer', 'wp_print_footer_scripts', 20 );