On this page
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
File: wp-includes/class-wp-editor.php. View all references
do_action( 'media_buttons', $editor_id );
Related
Used By
| Used By | Description |
|---|---|
| _WP_Editors::editor() wp-includes/class-wp-editor.php | Outputs the HTML for a single instance of the editor. |
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