the_author_firstname

Definition:
function the_author_firstname() {}

Display the first name of the author of the current post.

Source code

function the_author_firstname() {

	_deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'first_name\')' );

	the_author_meta('first_name');

}

2959

the_author_email

Definition:
function the_author_email() {}

Display the email of the author of the current post.

Source code

function the_author_email() {

	_deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'email\')' );

	the_author_meta('email');

}

2957

the_author_description

Definition:
function the_author_description() {}

Display the description of the author of the current post.

Source code

function the_author_description() {

	_deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'description\')' );

	the_author_meta('description');

}

2955

the_author_aim

Definition:
function the_author_aim() {}

Display the AIM address of the author of the current post.

Source code

function the_author_aim() {

	_deprecated_function( __FUNCTION__, '2.8', 'the_author_meta(\'aim\')' );

	the_author_meta('aim');

}

2953

the_author

Definition:
function the_author( $deprecated = '', $deprecated_echo = true ) {}

Display the name of the author of the current post.
The behavior of this function is based off of old functionality predating get_the_author(). This function is not deprecated, but is designed to echo the value from get_the_author() and as an result of any old theme that might still use the old behavior will also pass the value from get_the_author().

Parameters

  • string $deprecated: Deprecated.
  • string $deprecated_echo: Deprecated. Use get_the_author(). Echo the string or return it.

Return values

returns:The author’s display name, from get_the_author().

Source code

function the_author( $deprecated = '', $deprecated_echo = true ) {

	if ( !empty( $deprecated ) )

		_deprecated_argument( __FUNCTION__, '2.1' );

	if ( $deprecated_echo !== true )

		_deprecated_argument( __FUNCTION__, '1.5', __('Use <code>get_the_author()</code> instead if you do not want the value echoed.') );

	if ( $deprecated_echo )

		echo get_the_author();

	return get_the_author();

}

2951