W3cubDocs

/WordPress

apply_filters_deprecated( 'media_buttons_context', string $string )

This hook has been deprecated. Use ‘media_buttons’ action instead.

Filters the legacy (pre-3.5.0) media buttons.

Description

Use ‘media_buttons’ action instead.

Parameters

$string

(string) Media buttons context. Default empty.

Source

File: wp-admin/includes/media.php

View on Trac

Changelog

Version Description
3.5.0 Use 'media_buttons' action instead.
2.5.0 Introduced.

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