Reply To: default post format is Video not Standard

Front page Forums CodeCanyon products WordPress YouTube video post plugin default post format is Video not Standard Reply To: default post format is Video not Standard

#389

Constantin
Keymaster

Hi,

You could hook to action cbc_post_insert and change the post format when importing videos:

function my_post_format_func( $post_id ){
    set_post_format( $post_id, 'standard' );
}
add_action( 'cbc_post_insert', 'my_post_format_func', 10, 1 );

You can place the code above into your theme functions.php file.