Site icon Hip-Hop Website Design and Development

remove_filter from inside plugin class

I’m utilizing a plugin that’s including a filter that I do not need. So I wish to take away the filter. Their code is as follows:

class GF_ScheduleExportEntries extends GFFeedAddOn {
    public perform init() {
        mother or father::init();
        add_filter('gform_form_list_columns', array($this, 'gform_form_list_columns'), 10, 1 );
    }

    // That is what I wish to take away
    public perform gform_form_list_columns($columns){
        $columns['gfsee_export'] = esc_html__( 'Export', $this->_slug );
        return $columns;
    }
}

I’ve tried doing the next, which does not appear to work:

add_action( 'plugins_loaded', 'gwu_remove_plugin_filter' );
perform gwu_remove_plugin_filter() {
    international $GF_ScheduleExportEntries;
    remove_filter('gform_form_list_columns', array($GF_ScheduleExportEntries, 'gform_form_list_columns'), 99);
}

Any ideas?