Skip to content

Instantly share code, notes, and snippets.

View kwafoawua's full-sized avatar
🎯
Focusing

Afua Kwafo - Awua kwafoawua

🎯
Focusing
View GitHub Profile
<?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",