Created
June 18, 2020 11:09
-
-
Save farookibrahim/07c8b39fff7433d5d2ca2c19536a2131 to your computer and use it in GitHub Desktop.
Vodi - Movie v7 cast & crew section replace with movie v6 casts section
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_toggle_single_movie_v7_hooks' ) ) { | |
| function vodi_toggle_single_movie_v7_hooks() { | |
| if ( vodi_get_single_movie_style() == 'v7' ) { | |
| remove_action( 'masvideos_after_single_movie_summary', 'masvideos_template_single_movie_cast_crew_tabs', 50 ); | |
| add_action( 'masvideos_after_single_movie_summary', 'vodi_template_single_movie_casts', 50 ); | |
| } | |
| } | |
| } | |
| add_action( 'masvideos_before_single_movie', 'vodi_toggle_single_movie_v7_hooks', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment