Add the_author filter. Props markjaquith. fixes #1531
git-svn-id: http://svn.automattic.com/wordpress/trunk@2858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
190ef81565
commit
ad57698f14
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
function get_the_author($idmode = '') {
|
function get_the_author($idmode = '') {
|
||||||
global $authordata;
|
global $authordata;
|
||||||
return $authordata->display_name;
|
return apply_filters('the_author', $authordata->display_name);
|
||||||
}
|
}
|
||||||
|
|
||||||
function the_author($idmode = '', $echo = true) {
|
function the_author($idmode = '', $echo = true) {
|
||||||
|
|
Loading…
Reference in New Issue