embed_content_meta
Prints additional meta content in the embed template.
Использование
add_action( 'embed_content_meta', 'wp_kama_embed_content_meta_action' ); /** * Function for `embed_content_meta` action-hook. * * @return void */ function wp_kama_embed_content_meta_action(){ // action... }
Список изменений
С версии 4.4.0 | Введена. |
Где вызывается хук
embed_content_meta
wp-includes/theme-compat/embed-content.php 122
do_action( 'embed_content_meta' );
Где используется хук в WordPress
wp-includes/default-filters.php 692
add_action( 'embed_content_meta', 'print_embed_comments_button' );
wp-includes/default-filters.php 693
add_action( 'embed_content_meta', 'print_embed_sharing_button' );