Example #1
0
/**
 * Output follow button HTML
 * @param  integer $user_to_follow
 * @return string
 */
function ap_follow_button($user_to_follow)
{
    echo ap_get_follow_button($user_to_follow);
}
Example #2
0
/**
 * Output follow button HTML
 * @param  integer 		$user_to_follow
 * @param  array 		$text 					custom button text
 * @return string
 */
function ap_follow_button($user_to_follow, $text = false)
{
    echo ap_get_follow_button($user_to_follow, $text);
}