W3cubDocs

/WordPress

do_action( ‘media_buttons’, string $editor_id )

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

Parameters

$editor_idstring
Unique editor identifier, e.g. 'content'.

Source

do_action( 'media_buttons', $editor_id );

Changelog

Version Description
2.5.0 Introduced.

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