You can use the the_editor_content
filter:
function wpa_editor_content( $content ) {
global $post;
return "this post's id is $post->ID " . $content;
}
add_filter( 'the_editor_content', 'wpa_editor_content' );
You can use the the_editor_content
filter:
function wpa_editor_content( $content ) {
global $post;
return "this post's id is $post->ID " . $content;
}
add_filter( 'the_editor_content', 'wpa_editor_content' );