WordPress at a glance
function is not described

get_the_author_firstname() WP 1.5.0

Deprecated from version 2.8.0. It is no longer supported and can be removed in future releases. Use get_the_author_meta() instead.

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

No Hooks.

Return

String. The author's first name.

Usage

get_the_author_firstname();

Notes

  • See: get_the_author_meta()

Changelog

Since 1.5.0 Introduced.
Deprecated Since 2.8.0 Use get_the_author_meta()

Code of get_the_author_firstname() WP 5.7

<?php
function get_the_author_firstname() {
	_deprecated_function( __FUNCTION__, '2.8.0', 'get_the_author_meta(\'first_name\')' );
	return get_the_author_meta('first_name');
}