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.


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

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

Where the hook is called

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

Where the hook is used (in WP core)

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