This filter is called after Postie has determined who the post author should be.
At the point the filter is called there is no post created.
The parameter is a WordPress user ID.
add_filter('postie_author', 'my_filterAuthor'); function my_filterAuthor($userId) { //do some user validation logic return $userId }
See also: