embed_footer

The WordPress Core embed footer hook.

Description

add_action( 'embed_footer', (string) $print_embed_sharing_dialog ); 

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.
  1. // run the action 
  2. do_action( 'embed_footer', $print_embed_sharing_dialog ); 
The following example is for adding a hook callback.
  1. // define the embed_footer callback 
  2. function action_embed_footer( $print_embed_sharing_dialog ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'embed_footer', 'action_embed_footer', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. 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  
  1. add_action( 'embed_footer', 'print_embed_sharing_dialog' ); 
  1. add_action( 'embed_footer', 'print_embed_scripts' ); 
  1. add_action( 'embed_footer', 'wp_print_footer_scripts', 20 ); 
/wp-includes/theme-compat/footer-embed.php  
  1. do_action( 'embed_footer' );