bp_media_settings_callback_extension_document_support ()
描述
源
文件:bp-media / bp-media-settings.php
函数bp_media_settings_callback_extension_document_support(){$ extensions = bp_document_extensions_list();$ count = count($ extensions)+ 1;?> <表class =“扩展名单wp-list-table-towerfat固定条纹”><输入id =“bp_select_extensions”类型=“复选框”值=“1”> td> <?php echo esc_html __('extension','buddyboss');?> th> <?php echo esc_html __('description','buddyboss');?> th> <?php echo esc_html __('图标','buddyboss');?> th> <?php echo esc_html __('mime类型','buddyboss');?> th> thead> <?php $ counter = 1;foreach($ k => $扩展$ eachions){$ k =(!空($ k)?$ k:$柜台);$ name ='bp_document_extensions_support ['。$ k。 ']'; $edit = ( isset( $extension['is_default'] ) && (int) $extension['is_default'] ) ? 'readonly="readonly"' : ''; $class = ( isset( $extension['is_default'] ) && (int) $extension['is_default'] ) ? 'hide-border' : ''; $is_default = ( isset( $extension['is_default'] ) && (int) $extension['is_default'] ) ? 1 : 0; $tr_class = ( isset( $extension['is_default'] ) && (int) $extension['is_default'] ) ? 'default-extension' : 'extra-extension custom-extension'; if ( isset( $extension['icon'] ) && '' !== $extension['icon'] ) { $document_icon = $extension['icon']; } else { $document_file_extension = substr(strrchr( $extension['extension'],'.'),1); $document_icon = bp_document_svg_icon( $document_file_extension ); } ?> /> name="" id="" type="text" value="" placeholder=""/> class=" extension-hidden" name="" id="" type="hidden" value=""/> name="" id="" type="text" value="" placeholder=""/> name="" id="" type="hidden" value=""/> name="" id="" type="text" value="" placeholder=""/> 问题吗?