WordPress at a glance
filter is not described

media_buttons_context filter-hook . WP 2.5.0

Deprecated in 3.5.0. It is no longer supported and can be removed in future releases. See {@see 'media_buttons'} action.

Deprecated: 3.5.0 Use {@see 'media_buttons'} action instead.

Filters the legacy (pre-3.5.0) media buttons.

Use 'media_buttons' action instead.

Usage

add_filter( 'media_buttons_context', 'filter_function_name_8919' );
function filter_function_name_8919( $string ){
	// filter...

	return $string;
}
$string(string)
Media buttons context.
Default: ''

Changelog

Since DEL 3.5.0 Introduced.

Where the hook is called

media_buttons()
media_buttons_context
wp-admin/includes/media.php 625
$legacy_filter = apply_filters( 'media_buttons_context', '' );

Where the hook is used (in WP core)

Usage not found!