Function cz_change_preview_content
Force specific content 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_content is not respected by WP's get_the_content() function.
Parameters summary
type |
$content |
The original content |
Return value summary
string
|
The desired content |