Skip to content

Instantly share code, notes, and snippets.

Created August 21, 2017 10:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/b87a01f1df07e3e7f792d6c2c8e3f424 to your computer and use it in GitHub Desktop.
Save anonymous/b87a01f1df07e3e7f792d6c2c8e3f424 to your computer and use it in GitHub Desktop.
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