wpseek.com
WordPress开发者和主题制作者的搜索引擎



print_embed_sharing_button › WordPress Function

Since4.4.0
已弃用n/a
print_embed_sharing_button ( 没有参数 )
定义在:
文档:

Prints the necessary markup for the embed sharing button.



源码

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
}