vapvarun

PM Pro pmpro_format_price

Jul 9th, 2020
503
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.34 KB | None | 0 0
  1. function remove_pmpro_format_price(){ //Have to do it after theme setup, because child theme functions are loaded first
  2.     if( class_exists('RTM_EDD_Customization' ) ){
  3.         remove_filter( 'pmpro_format_price', array( RTM_EDD_Customization::instance(), 'rtm_pmpro_format_price' ), 10, 4 );
  4.     }
  5. }
  6. add_action( 'init', 'remove_pmpro_format_price' );
Add Comment
Please, Sign In to add comment