media_upload_max_image_resize

函数


media_upload_max_image_resize ( No parameters )
定义位置
  • wp-admin/includes/media.php
    , line 3053
引入
3.3.0
弃用

显示复选框以缩放图像。

function media_upload_max_image_resize() {
	$checked = get_user_setting( 'upload_resize' ) ? ' checked="true"' : '';
	$a       = '';
	$end     = '';

	if ( current_user_can( 'manage_options' ) ) {
		$a   = '';
		$end = '';
	}

	?>
	

<?php }