bp_nouveau_ajax_document_get_folder_view ()

描述

文件:bp-templates / bp-nouveau /包括/文档/ ajax.php

函数bp_nouveau_ajax_document_get_folder_view() {$type = filter_input(INPUT_POST, 'type', FILTER_SANITIZE_STRING);$id = filter_input(INPUT_POST, 'id', FILTER_SANITIZE_STRING);If ('profile' === $type) {$ul = bp_document_user_document_folder_tree_view_li_html($id, 0);} else {$ul = bp_document_user_document_folder_tree_view_li_html(bp_loggedin_user_id(), $id);} $first_text = "; ";if ('profile' === $type) {$first_text = esc_html__(' Documents', 'buddyboss');} else {if (bp_is_active('groups')) {$group = group_get_group ((int) $id);$first_text = bp_get_group_name($group);}} wp_send_json_success(array('message' => 'success', 'html' => $ul, 'first_span_text' => stripslashes($first_text),);}} wp_send_json_success(array('message' => 'success', 'html' => $ul, 'first_span_text' => stripslashes($first_text),);}

问题吗?

我们总是很乐意帮助您解决代码或其他问题!搜索我们的开发人员文档联络支持,或与我们联系销售团队