I've searched all over this site and others for instructions on how to remove an action from a parent theme and nothing seems to work. I'm trying to remove the 'add_action' line via my child theme functions file:
class Quickmart_Woocommerce{
public function __construct(){
add_action( 'wp_enqueue_scripts', array( $this, 'loadThemeStyles' ), 20 );
}
And here is the function the add_action is referencing
public function loadThemeStyles() {
wp_enqueue_style( 'quickmart-woocommerce', $path , 'quickmart-woocommerce-front' , QUICKMART_THEME_VERSION, 'all' );
}
I've tried using the following, but it's not working
global $Quickmart_Woocommerce;
remove_action( 'wp_enqueue_scripts', array( $Quickmart_Woocommerce, 'loadThemeStyles' ) );
I'm really stumped.