A WordPress-centric search engine for devs and theme authors



print_embed_sharing_button ›

Since4.4.0
Deprecatedn/a
print_embed_sharing_button ( No parameters )
Defined at:
Codex:

Prints the necessary markup for the embed sharing button.



Source

function print_embed_sharing_button() {
	if ( is_404() ) {
		return;
	}
	?>
	<div class="wp-embed-share">
		<button type="button" class="wp-embed-share-dialog-open" aria-label="<?php esc_attr_e( 'Open sharing dialog' ); ?>">
			<span class="dashicons dashicons-share"></span>
		</button>
	</div>
	<?php
}