wpseek.com
A WordPress-centric search engine for devs and theme authors



the_author › WordPress Filter Hooks

Since2.9.0
Deprecatedn/a
apply_filters( 'the_author', is_object( $authordata )
Parameters:
  • (string) $display_name The author's display name.
    Required: Yes
Defined at:
Codex:

Filters the display name of the current post's author.





Source

return apply_filters( 'the_author', is_object( $authordata ) ? $authordata->display_name : '' );