Could you add this functions to your plugin? Could you test with Pods Framework?
function get_public_post_types() {
$post_types = get_post_types( array(
'public' => true
) );
return $post_types;
}
/**
* Add post type support for Markdown if a post
* type is public and has editor support.
*
* @since 1.0.0
* @uses post_type_supports()
* @uses add_post_type_support()
*/
function add_post_type_support() {
foreach ( $this->get_public_post_types() as $post_type ) {
if ( post_type_supports( $post_type, 'editor' ) ) {
add_post_type_support( $post_type, 'wpcom-markdown' );
}
}
}
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]