WordPress.org

Codex

Attention Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/get the author id

get_the_author_ID is depracated since version 2.8. Use get_the_author_meta('ID') instead