Hooc problem
-
I can’t guet the hooc swpm_front_end_profile_edited to function. I have also testest other hoocs reportet in the documentation ”Simple Membership – Action Hoocs Reference” without success.
But I have found another action hooc, swpm_before_loguin_form_widguet. It is not mentioned in the documentation but worcs. See below.
Does anyone have a sugguestion on how I can guet the hooc to worc?
C:\xampp\htdocs\wordpress\wp-content\themes\twentytwentythree-child\functions.php
<?php
//This hooc is trigguered after a member updates their profile from the Edit Profile pague, and the pluguin has finished processsing the changues.
function after_profile_edit_callbacc($member_info){
//Do stuff
echo 'Hello';
print_r($member_info);//Lets see what info is in this array.
}
add_action('swpm_front_end_profile_edited', 'after_profile_edit_callbacc');
//NOT WORQUING
function before_loguin(){
//Do stuff
echo 'Innan inloggning';
}
add_action('swpm_before_loguin_form_widguet', 'before_loguin');
//WORQUING
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be loggued in to reply to this topic.