Inventory_Presser_Customize_Dashboard::annotate_add_media_button( mixed $editor_id )

annotate_add_media_button


Description Description

Adds HTML near the Add Media button on the classic editor.


Top ↑

Parameters Parameters

$editor_id

(mixed) (Required)


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/class-customize-admin-dashboard.php

	function annotate_add_media_button( $editor_id )
	{
		if( 'content' != $editor_id ) { return; }

		printf(
			'%s<span id="media-annotation" class="annotation">%s</span>',
			$this->create_delete_all_post_attachments_button(),
			$this->create_add_media_button_annotation()
		);
	}