Advertisement
verygoodplugins

Untitled

Jan 7th, 2021
926
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. function remove_wpf_actions() {
  2.  
  3.     if ( ! function_exists( 'wp_fusion' ) ) {
  4.         return;
  5.     }
  6.  
  7.     remove_action( 'lifterlms_order_status_completed', array( wp_fusion_ecommerce()->integrations->lifterlms, 'access_plan_purchased' ), 10, 2 );
  8.  
  9. }
  10.  
  11. add_action( 'plugins_loaded', 'remove_wpf_actions' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement