function dob_admin_profile_update($target_user_id) { /*{{{*/ dob_admin_user_hierarchy_update($target_user_id); dob_admin_user_group_update($target_user_id); }
<?php require_once 'user_profile.php'; global $current_user; $label_basic = '기본'; // __( 'Basic', DOBslug ); $label_setting = __('Settings'); if (!empty($_POST) && isset($_POST['dob_admin_nonce']) && wp_verify_nonce($_POST['dob_admin_nonce'], __FILE__)) { dob_admin_user_hierarchy_update($current_user->ID); dob_admin_user_group_update($current_user->ID); } ?> <div class="wrap"> <h2><?php echo esc_html(get_admin_page_title()); ?> </h2> <div class="postbox"> <form method="post"> <h3 class="hndle"><span><?php echo $label_basic . ' ' . $label_setting; ?> </span></h3> <div class="inside"> <?php wp_nonce_field(__FILE__, 'dob_admin_nonce'); ?> <table class="form-table">