Created
May 7, 2024 08:30
-
-
Save ahsannayem/115b98a84a596feef8e454219ad4f3f4 to your computer and use it in GitHub Desktop.
Fluent Support
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter('fluent_support/custom_registration_form_fields', function($fields) { | |
$fields['phone_number'] = [ | |
'required' => false, | |
'type' => 'number', | |
'label' => __('Phone Number', 'fluent-support'), | |
'id' => 'fst_phone_number', | |
'placeholder' => __('phone_number', 'fluent-support'), | |
'wrapper_class' => 'fs_half_field', | |
]; | |
return $fields; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment