wordpress / latest / hooks / media_buttons.html

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 all references

do_action( 'media_buttons', $editor_id );

Used By

Used By Description

Changelog

Version Description
2.5.0 Introduced.

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