Ultimate Member hook
-
Greetings
Can someone please tell me where exactly do I place a hook code for custom validation in a registration form made with Ultimate Member?
Supose I have a custom field FIELD_1, and on submission I want to run Function_1. The code will be:
add_action(‘um_submit_form_errors_hook_’,’Function_1′);
function Function1( $args ) {
global $ultimatemember;
//check var $args[‘F1’]
//…
}Where exactly do I place this code? Inside the registration page as PHP?
Another question, if I may: can I override the wp-signup.php with Ultimate Member or must it be done via .htaccess?
Kind regards
Kepler
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Ultimate Member hook’ is closed to new replies.