media_upload_html_bypass()WP 2.6.0

Displays the browser's built-in uploader message.

Хуков нет.

Возвращает

null. Ничего (null).

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

media_upload_html_bypass();

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

С версии 2.6.0 Введена.

Код media_upload_html_bypass() WP 6.9.1

<?php
function media_upload_html_bypass() {
	?>
	<p class="upload-html-bypass hide-if-no-js">
	<?php
		printf(
			/* translators: %s: HTML attributes for button. */
			__( 'You are using the browser&#8217;s built-in file uploader. The WordPress uploader includes multiple file selection and drag and drop capability. <button %s>Switch to the multi-file uploader</button>.' ),
			'type="button" class="button-link"'
		);
	?>
	</p>
	<?php
}