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

apply_filters_deprecated( 'media_buttons_context', string $string )

Filters the legacy (pre-3.5.0) media buttons.


Description

Use ‘media_buttons’ action instead.


Top ↑

Parameters

$string string
Media buttons context. Default empty.

Top ↑

Source

File: wp-admin/includes/media.php. View all references

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


Top ↑

Changelog

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

Top ↑

User Contributed Notes

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