WordPress at a glance
filter is not described

media_buttons_context filter-hook . WP 2.5.0

Deprecated in 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.

Usage

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

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

Список изменений

С версии 2.5.0 Введена.
Устарела с 3.5.0 Use {@see 'media_buttons'} action instead.

Где вызывается хук

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

Где используется хук в ядре WP

Использование не найдено.