Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Afua Kwafo - Awua kwafoawua

🎯
Focusing
View GitHub Profile
View Ultimate Member - adding custom fields in account page and tab
<?php
/* Add fields to account page */
add_action('um_after_account_general', 'showExtraFields', 100);
function showExtraFields()
{
$custom_fields = [
"alternate_email" => "Permanent E-mail Address",
"major" => "Major",
"minor" => "Minor",
"gpa" => "GPA",