Created
February 1, 2018 23:40
-
-
Save thomasplevy/e598d36f722c07bc54b056955f410b62 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
<?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