How to remove parent theme actions in child theme?

Home Forums Legacy Support Support queries Other issues How to remove parent theme actions in child theme?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #152245
    abcdefgh
    Spectator
    I have to remove some of wplms actions in my child theme (e.g. vibe_view_woocommerce_order_course_details). I already tried something like this (remove course links on order recieved woocommerce page)
    add_action( 'bp_after_setup_theme', 'removeVibeAction', 0 );
    function removeVibeAction() {
      remove_action( 'woocommerce_order_item_name', array( 'WPLMS_Actions', 'vibe_view_woocommerce_order_course_details' ) );
    }
    and could you please add how to deal with other WPLMS actions as well? I have to remove a lot of them.
    #152337
    Mark Morgan
    Spectator
    Replied on this topic : https://wplms.io/support/forums/topic/how-to-remove-parent-theme-actions/#post-152336 It is a request please do not create  duplicate topics.
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘How to remove parent theme actions in child theme?’ is closed to new replies.