Created
August 21, 2017 10:19
-
-
Save anonymous/b87a01f1df07e3e7f792d6c2c8e3f424 to your computer and use it in GitHub Desktop.
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
function graduate_pro_customize_section(){ | |
remove_action( 'graduate_pro_primary_content', 'graduate_pro_add_top_destination_section', 50 ); | |
remove_action( 'graduate_pro_primary_content', 'graduate_pro_add_featured_content_section', 90 ); | |
remove_action( 'graduate_pro_primary_content', 'graduate_pro_add_information_section', 30 ); | |
remove_action( 'graduate_pro_primary_content', 'graduate_pro_add_trending_courses_section', 40 ); | |
add_action( 'graduate_pro_primary_content', 'graduate_pro_add_top_destination_section',15); | |
add_action( 'graduate_pro_primary_content', 'graduate_pro_add_featured_content_section', 16); | |
add_action( 'graduate_pro_primary_content', 'graduate_pro_add_information_section', 17 ); | |
add_action( 'graduate_pro_primary_content', 'graduate_pro_add_trending_courses_section',18 ); | |
} | |
add_action ('init', 'graduate_pro_customize_section'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment