您可以这样做:(从手机应答。如果标记被破坏,请原谅)
add_filter( \'default_content\', \'preloaded_editor_content\', 10, 2 );
function preloaded_editor_content( $content, $post ) {
switch( $post->post_type ) {
case \'your_post_type\':
$content = \'your content\';
break;
default:
$content = \'your default content\';
break;
}
return $content;
}