Core Function
View Source on Trac ↗ get_the_author_ID()
get_the_author_ID( ) Retrieve the ID of the author of the current post.
Return Value
((string)
| int) The author's ID.
Function Information
Since Version
1.5.0
Source File
wp-includes/deprecated.php
Advertisement