Filter post before *editing*

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' );

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)