W3cubDocs

/WordPress

do_action( 'media_buttons', string $editor_id )

Fires after the default media button(s) are displayed.

Parameters

$editor_id

(string) Unique editor identifier, e.g. 'content'.

Source

File: wp-includes/class-wp-editor.php

View on Trac

Changelog

Version Description
2.5.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_buttons