$infinite_scrolling =
apply_filters( 'media_library_infinite_scrolling', false
);
$settings = array
( 'tabs' =>
$tabs,
'tabUrl' =>
add_query_arg( array
( 'chromeless' => true
),
admin_url( 'media-upload.php'
) ),
'mimeTypes' =>
wp_list_pluck( get_post_mime_types(), 0
),
/** This filter is documented in wp-admin/includes/media.php */
'captions' => !
apply_filters( 'disable_captions', ''
),
'nonce' => array
( 'sendToEditor' =>
wp_create_nonce( 'media-send-to-editor'
),
'setAttachmentThumbnail' =>
wp_create_nonce( 'set-attachment-thumbnail'
),
),
'post' => array
( 'id' => 0,
),
'defaultProps' =>
$props,
'attachmentCounts' => array
(