Front page › Forums › CodeCanyon products › WordPress YouTube video post plugin › Few problems › Reply To: Few problems
November 13, 2013 at 4:26 PM
#220
If you simply pasted the code above, it won’t work. I just outlined how you can use the filter. To make links clickable, you should parse the description, for example, you could use WP function make_clickable().
function my_function( $post_content, $video, $theme_import ){
// process the contents of post in here
return make_clickable( $post_content );
}
add_filter(‘cbc_video_post_content’, ‘my_function’, 10, 3);