Created
May 13, 2020 21:54
-
-
Save ibndawood/4bbed20b595d9af9b91e12b81811cef1 to your computer and use it in GitHub Desktop.
Vodi - Remove recommended movies and single movie tabs
This file contains 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
add_action( 'masvideos_before_single_movie', 'vd_child_remove_recommended_movies', 20 ); | |
add_action( 'masvideos_before_single_movie', 'vd_child_remove_single_movie_tabs', 20 ); | |
function vd_child_remove_recommended_movies() { | |
remove_action( 'masvideos_after_single_movie_summary', 'vodi_recommended_movies', 98 ); | |
} | |
function vd_child_remove_single_movie_tabs() { | |
remove_action( 'masvideos_after_single_movie_summary', 'masvideos_template_single_movie_tabs', 95 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment