Function cz_change_preview_author
Force a specific author to appear on the post format mockups located in the preview template.
Note: It is necessary to change the content in this manner because setting $post->post_author is not respected by WP's get_the_author() function.
Parameters summary
type |
$author |
The original author |
Return value summary
string
|
The desired author |