This function has been deprecated. Use get_the_author_meta() instead.
get_the_author_firstname()
Retrieve the first name of the author of the current post.
Description
See also
Return
(string) The author's first name.
Source
File: wp-includes/deprecated.php
function get_the_author_firstname() {
_deprecated_function( __FUNCTION__, 'WP-2.8.0', 'get_the_author_meta(\'first_name\')' );
return get_the_author_meta('first_name');
}
Changelog
Version | Description |
---|---|
2.8.0 | Use get_the_author_meta() |
1.5.0 | Introduced. This function has been deprecated. Use get_the_author_meta() instead. |