embed_footer
The WordPress Core embed footer hook.
Description
Parameters (1)
- 0. $print_embed_sharing_dialog (string) =>
'print_embed_sharing_dialog'
- The print embed sharing dialog.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'embed_footer', $print_embed_sharing_dialog );
- The following example is for adding a hook callback.
- // define the embed_footer callback
- function action_embed_footer( $print_embed_sharing_dialog ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'embed_footer', 'action_embed_footer', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'embed_footer', 'action_embed_footer', 10, 1 );
Defined (4)
The action is defined in the following location(s).
- /wp-includes/default-filters.php
- add_action( 'embed_footer', 'print_embed_sharing_dialog' );
- add_action( 'embed_footer', 'print_embed_scripts' );
- add_action( 'embed_footer', 'wp_print_footer_scripts', 20 );
- /wp-includes/theme-compat/footer-embed.php
- do_action( 'embed_footer' );