Switch language

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




get_the_author [ WordPress Function ]

get_the_author ( $deprecated = '' )
Parameters:
  • (string) $deprecated Deprecated.
Uses:
Returns:
  • (string) The author's display name.
Defined at:



Retrieve the author of the current post.

Source


<?php
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);
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics