print_embed_sharing_button()

最后更新于:2021-11-27 20:28:20

print_embed_sharing_button()

Prints the necessary markup for the embed sharing button.

源文件

文件: gc-includes/embed.php

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