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.


Top ↑

Parameters

$string

(string)Media buttons context. Default empty.


Top ↑

Source

File: wp-admin/includes/media.php

View on Trac



Top ↑

Changelog

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

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More