Inventory_Presser_Classic_Editor::annotate_add_media_button( mixed $editor_id )

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


Parameters Parameters

$editor_id

(mixed) (Required)


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/integrations/class-classic-editor.php

	public 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()
		);
	}