wpseek.com
A WordPress-centric search engine for devs and theme authors
get_the_author › WordPress Function
Since1.5.0
Deprecatedn/a
› get_the_author ( $deprecated = '' )
Parameters: |
|
Returns: |
|
Defined at: |
|
Codex: |
Retrieves the author of the current post.
Related Functions: get_the_author_id, get_the_author_aim, get_the_author_url, get_the_author_yim, get_the_author_msn
Source
function get_the_author( $deprecated = '' ) { global $authordata; if ( ! empty( $deprecated ) ) { _deprecated_argument( __FUNCTION__, '2.1.0' ); } /** * Filters the display name of the current post's author. * * @since 2.9.0 * * @param string|null $display_name The author's display name. */ return apply_filters( 'the_author', is_object( $authordata ) ? $authordata->display_name : null ); }