the_author_ID()
Deprecated since 2.8.0. It is no longer supported and may be removed in future releases. Use the_author_meta() instead.
Display the ID of the author of the current post.
No Hooks.
Returns
null. Nothing (null).
Usage
the_author_ID();
Notes
- See: the_author_meta()
Changelog
| Since 0.71 | Introduced. |
| Deprecated since 2.8.0 | Use the_author_meta() |
the_author_ID() the author ID code WP 6.8.3
function the_author_ID() {
_deprecated_function( __FUNCTION__, '2.8.0', 'the_author_meta(\'ID\')' );
the_author_meta('ID');
}