Created
July 5, 2019 15:03
-
-
Save yousufansa/6c94057a4d75a5ee37fe39d82d560b9b to your computer and use it in GitHub Desktop.
Vodi - Remove Single Video Show Hide
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( ! function_exists( 'vodi_child_remove_single_video_show_hide' ) ) { | |
function vodi_child_remove_single_video_show_hide( $value ) { | |
if ( is_video() ) { | |
return false; | |
} | |
return $value; | |
} | |
} | |
add_filter( 'vodi_enable_vodi_readmore', 'vodi_child_remove_single_video_show_hide', 10 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment