Inventory_Presser_Admin_Customize_Dashboard::annotate_add_media_button( mixed $editor_id )
annotate_add_media_button
Contents
Description Description
Adds HTML near the Add Media button on the classic editor.
Parameters Parameters
- $editor_id
-
(mixed) (Required)
Return Return
(void)
Source Source
File: includes/admin/class-admin-customize-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() ); }
Expand full source code Collapse full source code View on Github