Definition:
function get_the_author($deprecated = '') {}
Retrieve the author of the current post.
Parameters
- string $deprecated: Deprecated.
Return values
returns:The author’s display name.
Defined filters
- the_author
apply_filters('the_author', is_object($authordata)
Source code
function get_the_author($deprecated = '') { global $authordata; if ( !empty( $deprecated ) ) _deprecated_argument( __FUNCTION__, '2.1' ); return apply_filters('the_author', is_object($authordata) ? $authordata->display_name : null); }
1783
No comments yet... Be the first to leave a reply!