media_upload_html_bypass()
Displays the browser's built-in uploader message.
No Hooks.
Returns
null. Nothing (null).
Usage
media_upload_html_bypass();
Changelog
| Since 2.6.0 | Introduced. |
media_upload_html_bypass() media upload html bypass code WP 7.0
<?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’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
}