apply_filters_deprecated( ‘media_buttons_context’, string $string )

In this article

This hook has been deprecated. Use {@see ‘media_buttons’} action instead.

Filters the legacy (pre-3.5.0) media buttons.

Description

Use ‘media_buttons’ action instead.

Parameters

$stringstring
Media buttons context. Default empty.

Source

$legacy_filter = apply_filters_deprecated( 'media_buttons_context', array( '' ), '3.5.0', 'media_buttons' );

Changelog

VersionDescription
3.5.0Use 'media_buttons' action instead.
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.