PeepSo_Helpers::get_bio( $user_id )


Parameters Parameters

(Required) bio of the follower

$user_id

(Required)


Source Source

File: src/integrations/peepso/helpers/peepso-helpers.php

	public function get_bio( $user_id ) {
		if ( empty( $user_id ) ) {
			return;
		}
		$bod = get_user_meta( $user_id, 'description', true );
		$acc = get_user_meta( $user_id, 'peepso_user_field_description_acc', true );

		if ( ! empty( $bod ) && $acc >= 0 ) {
			return $bod;
		}
	}