How to customize frontend manager profile layout?
Hooks in Header Profile
Copy following codes in your theme’s functions.php file.
/* * Before header profile hook */ add_action('wpcfe_before_profile_header', 'wpcfe_before_profile_header_callback'); function wpcfe_before_profile_header_callback(){ ?> <p>Before the Header Profile</p> <?php } /* * After header profile hook */ add_action('wpcfe_after_profile_header', 'wpcfe_after_profile_header_callback'); function wpcfe_after_profile_header_callback(){ ?> <p>After the Header Profile</p> <?php }
Hooks in Personal Information
/* * Before Personal Information hook */ add_action('wpcfe_before_personal_information', 'wpcfe_before_personal_information_callback'); function wpcfe_before_personal_information_callback(){ ?> <p>Before Personal Information</p> <?php } /* * After Personal Information hook */ add_action('wpcfe_after_personal_information', 'wpcfe_after_personal_information_callback'); function wpcfe_after_personal_information_callback(){ ?> <p>After Personal Information</p> <?php }
Hooks in Billing Information
/* * Before Billing Information hook */ add_action('wpcfe_before_billing_information', 'wpcfe_before_billing_information_callback'); function wpcfe_before_billing_information_callback(){ ?> <p>Before Billing Information</p> <?php } /* * After Billing Information hook */ add_action('wpcfe_after_billing_information', 'wpcfe_after_billing_information_callback'); function wpcfe_after_billing_information_callback(){ ?> <p>After Billing Information</p> <?php }
Hooks in Change Password
/* * Before Change Password hook */ add_action('wpcfe_before_security_profile', 'wpcfe_before_security_profile_callback'); function wpcfe_before_security_profile_callback(){ ?> <p>Before Change Password</p> <?php } /* * After Change Password hook */ add_action('wpcfe_after_security_profile', 'wpcfe_after_security_profile_callback'); function wpcfe_after_security_profile_callback(){ ?> <p>After Change Password</p> <?php }