WordPress at a glance
filter is not described

media_submitbox_misc_sections filter-hook . WP 3.7.0

Filters the audio and video metadata fields to be shown in the publish meta box.

The key for each item in the array should correspond to an attachment metadata key, and the value should be the desired label.


add_filter( 'media_submitbox_misc_sections', 'filter_function_name_5189', 10, 2 );
function filter_function_name_5189( $fields, $post ){
	// filter...

	return $fields;
An array of the attachment metadata keys and labels.
WP_Post object for the current attachment.

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

С версии 3.7.0 Введена.
С версии 4.9.0 Added the $post parameter.

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

wp-admin/includes/media.php 3336
$fields = apply_filters( 'media_submitbox_misc_sections', $fields, $post );

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

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