public function personalName( $slug ) {
		init_book_data_models();
		$name = '';
		$term = get_term_by( 'slug', $slug, self::TAXONOMY );
		if ( $term ) {
			$first_name = get_term_meta( $term->term_id, 'contributor_first_name', true );
			$last_name = get_term_meta( $term->term_id, 'contributor_last_name', true );
			if ( ! empty( $first_name ) && ! empty( $last_name ) ) {
				$name = "{$first_name} {$last_name}";
			} elseif ( ! empty( $term->name ) ) {
				$name = $term->name;
			}
		}
		return $name;
	}
public function personalName( $slug ) {
		init_book_data_models();
		$name = '';
		$term = get_term_by( 'slug', $slug, self::TAXONOMY );
		if ( $term ) {
			$first_name = get_term_meta( $term->term_id, 'contributor_first_name', true );
			$last_name = get_term_meta( $term->term_id, 'contributor_last_name', true );
			if ( ! empty( $first_name ) && ! empty( $last_name ) ) {
				$name = "{$first_name} {$last_name}";
			} elseif ( ! empty( $term->name ) ) {
				$name = $term->name;
			}
		}
		return $name;
	}
public function personalName ( $ slug ) { init_book_data_models ( ) ; $ name = '' ; $ term = get_term_by ( 'slug' , $ slug , self :: TAXONOMY ) ; if ( $ term ) { $ first_name = get_term_meta ( $ term -> term_id , 'contributor_first_name' , true ) ; $ last_name = get_term_meta ( $ term -> term_id , 'contributor_last_name' , true ) ; if ( ! empty ( $ first_name ) && ! empty ( $ last_name ) ) { $ name = "{$first_name} {$last_name}" ; } elseif ( ! empty ( $ term -> name ) ) { $ name = $ term -> name ; } } return $ name ; }
Get personal name based on available data

Returns empty string is we can't find anything useful

A personal name is the set of names by which an individual is known and that can be recited as a word-group,
with the understanding that, taken together, they all relate to that one individual. In many cultures, the
term is synonymous with the birth name or legal name of the individual.

@param string $slug

@return string
Get personal name based on available data