wpseek.com
WordPress开发者和主题制作者的搜索引擎



media_upload_html_bypass › WordPress Function

Since2.6.0
已弃用n/a
› media_upload_html_bypass ( 没有参数 )
定义在:
文档:

Displays the browser's built-in uploader message.



源码

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
}