Before Profile Section Tab

This action can be used to add HTML before sections tabs in the about tab on the profile page at the frontend.

do_action( 'profile_magic_before_profile_section_tab',$uid,$primary_gid);

$primary_gid is the ID of the primary group of a user.

Simple example

function profile_magic_HTMl_before_sections($uid,$primary_gid)


//do something with a user ID and group iD here.


add_action( 'profile_magic_before_profile_section_tab', 'profile_magic_HTMl_before_sections',10,2);