print_embed_sharing_button

Prints the necessary markup for the embed sharing button.

Description

print_embed_sharing_button(); 

Usage

  1. if ( !function_exists( 'print_embed_sharing_button' ) ) { 
  2. require_once ABSPATH . WPINC . '/embed.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = print_embed_sharing_button(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/embed.php  
  1. function print_embed_sharing_button() { 
  2. if ( is_404() ) { 
  3. return; 
  4. ?> 
  5. <div class="wp-embed-share"> 
  6. <button type="button" class="wp-embed-share-dialog-open" aria-label="<?php esc_attr_e( 'Open sharing dialog' ); ?>"> 
  7. <span class="dashicons dashicons-share"></span> 
  8. </button> 
  9. </div> 
  10. <?php