Skip to content

Instantly share code, notes, and snippets.

@thomasplevy
Created February 1, 2018 23:40
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 thomasplevy/e598d36f722c07bc54b056955f410b62 to your computer and use it in GitHub Desktop.
Save thomasplevy/e598d36f722c07bc54b056955f410b62 to your computer and use it in GitHub Desktop.
<?php // don't copy this line to your functions.php file!
/**
* Remove LLMS WooCommerce Pricing tables from courses and memberships
* @return [type]
*/
function my_mod_llms_wc_actions() {
remove_action( 'lifterlms_single_course_after_summary', 'llms_wc_output_pricing_table', 60 );
remove_action( 'lifterlms_single_membership_after_summary', 'llms_wc_output_pricing_table', 10 );
}
add_action( 'init', 'my_mod_llms_wc_actions', 100 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment