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 media_buttons.

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

Filters the legacy (pre-3.5.0) media buttons.

Use 'media_buttons' action instead.


add_filter( 'media_buttons_context', 'filter_function_name_9362', 10, 3 );
function filter_function_name_9362( $string, $string, $string ){
	// filter...

	return $string;
Media buttons context.
Default: ''


Since DEL 3.5.0 Introduced.

Where the hook is called

wp-admin/includes/media.php 657
$legacy_filter = apply_filters_deprecated( 'media_buttons_context', array( '' ), '3.5.0', 'media_buttons' );

Where in WP core the hook is used

Usage not found!