function appthemes_get_edit_profile_url() { if ($page_id = APP_User_Profile::get_id()) { return get_permalink($page_id); } return get_edit_profile_url(get_current_user_id()); }
static function get_id() { return parent::_get_id(__CLASS__); }
function update() { if (!isset($_POST['action']) || 'app-edit-profile' != $_POST['action']) { return; } check_admin_referer('app-edit-profile'); do_action('personal_options_update', $_POST['user_id']); parent::update(); }