how to use apply filter for Class?

To add a filter of a class’s method you must use an array in the callback like this:

add_filter( 'woocommerce_credit_card_form_fields', array( $this, 'ggowl_auth_creditform' ), 10, 1 );. Of course that method must be public and either static, or the object must be instantiated.

tech