Created
November 23, 2020 13:41
-
-
Save yousufansa/6027fd222eb2671c3e81cb262a493d1e to your computer and use it in GitHub Desktop.
Vodi - Single Movie v6 Re-Arrange the single movie description to top on the movie feature crew
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_template_single_movie_v6_rearrange_movie_description' ) ) { | |
| function vodi_child_template_single_movie_v6_rearrange_movie_description() { | |
| if ( vodi_get_single_movie_style() == 'v6' ) { | |
| add_filter( 'masvideos_movie_attribute', 'vodi_template_single_movie_attribute', 10, 3 ); | |
| add_action( 'masvideos_single_movie_summary', 'vodi_template_single_movie_details', 28 ); | |
| remove_action( 'masvideos_after_single_movie_summary', 'vodi_template_single_movie_details', 15 ); | |
| } | |
| } | |
| } | |
| add_action( 'masvideos_before_single_movie', 'vodi_child_template_single_movie_v6_rearrange_movie_description', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment