On this page
the_author_nickname()
This function has been deprecated. Use the_author_meta() instead.
Display the nickname of the author of the current post.
Description
See also
Source
File: wp-includes/deprecated.php. View all references
function the_author_nickname() {
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'nickname\')' );
the_author_meta('nickname');
}
Related
Uses
| Uses | Description |
|---|---|
| the_author_meta() wp-includes/author-template.php | Outputs the field from the user’s DB object. Defaults to current post’s author. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Use the_author_meta() |
| 0.71 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/the_author_nickname