Warning: This hook has been deprecated. Use ‘media_buttons’ action instead.
media_buttons_context WordPress Hook
The media_buttons_context hook allows you to add content to the media buttons context. This hook is triggered when the media buttons are displayed.
apply_filters_deprecated( 'media_buttons_context', string $string ) #
Filters the legacy (pre-3.5.0) media buttons.
Description
Use ‘media_buttons’ action instead.
Parameters
- $string
(string)Media buttons context. Default empty.
Source
Changelog
Version | Description |
---|---|
3.5.0 | Use 'media_buttons' action instead. |
2.5.0 | Introduced. |