embed_content_meta
The WordPress Core embed content meta hook.
Description
Parameters (1)
- 0. $print_embed_comments_button (string) =>
'print_embed_comments_button'
- The print embed comments button.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'embed_content_meta', $print_embed_comments_button );
- The following example is for adding a hook callback.
- // define the embed_content_meta callback
- function action_embed_content_meta( $print_embed_comments_button ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'embed_content_meta', 'action_embed_content_meta', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'embed_content_meta', 'action_embed_content_meta', 10, 1 );
Defined (3)
The action is defined in the following location(s).
- /wp-includes/default-filters.php
- add_action( 'embed_content_meta', 'print_embed_comments_button' );
- add_action( 'embed_content_meta', 'print_embed_sharing_button' );
- /wp-includes/theme-compat/embed-content.php
- do_action( 'embed_content_meta');