WordPress at Your Fingertips
filter is not described

media_buttons_context filter-hook . WP 2.5.0

Deprecated from version 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_5592' );
function filter_function_name_5592( $string ){
	// filter...

	return $string;


Since 2.5.0 Introduced.
Deprecated Since 3.5.0 Use {@see 'media_buttons'} action instead.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.