Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wp get post author id

$post_id = 257;
$author_id = get_post_field( 'post_author', $post_id );
Source by www.intelliwolf.com #
 
PREVIOUS NEXT
Tagged: #wp #post #author #id
ADD COMMENT
Topic
Name
2+8 =