/** * Setup HM Accounts * * @access public * @return null */ function hma_init() { if (function_exists('fbc_get_fbconnect_user')) { include_once 'hm-accounts.sso.facebook.php'; } foreach (hma_default_profile_fields() as $field) { hma_register_profile_field($field); } }
function hma_custom_profile_fields() { return array_diff(hma_get_profile_fields(), hma_default_profile_fields()); }