Skip to content

Instantly share code, notes, and snippets.

Created June 26, 2017 04:27
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/4c726e02eab3e0e8f6fa777962c43e0d to your computer and use it in GitHub Desktop.
Save anonymous/4c726e02eab3e0e8f6fa777962c43e0d to your computer and use it in GitHub Desktop.
/**
* [business_park_pro_child_sections_customization description]
* @return [type] [description]
*/
function business_park_pro_child_sections_customization(){
remove_action( 'business_park_primary_content', 'business_park_add_service_section', 50 );
remove_action( 'business_park_primary_content', 'business_park_add_testimonial_section', 10 );
add_action( 'business_park_primary_content', 'business_park_add_service_section', 10 );
add_action( 'business_park_primary_content', 'business_park_add_testimonial_section', 11 );
}
add_action( 'init', 'business_park_pro_child_sections_customization' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment