BP_XProfile_Group: render_admin_form ()
输出admin区域字段组表单。
描述
源
文件:bp-xprofile /类/ class-bp-xprofile-group.php
Public function render_admin_form() {global $message;//用户URL $users_url = bp_get_admin_url(' Admin .php');// URL取消到$cancel_url = add_query_arg(array('page' => 'bp-profile-setup'), $users_url);//新建字段组。if (empty($this->id)) {$title = __('新字段设置','buddyboss');$button = __('Save', 'buddyboss');$action = add_query_arg(array('page' => 'bp-profile-setup', 'mode' => 'add_group'), $users_url);//已存在字段组。} else {$title = __('Edit Field Set', 'buddyboss');$button = __('Update', 'buddyboss'); $action = add_query_arg( array( 'page' => 'bp-profile-setup', 'mode' => 'edit_group', 'group_id' => (int) $this->id ), $users_url ); } ?>1 ) { ?>
更新日志
版本 | 描述 |
---|---|
BuddyPress 1.0.0 | 介绍了。 |