woocommerce_available_payment_gateways

woocommerce_available_payment_gateways

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_available_payment_gateways') is found 1 times:

  • /includes/class-wc-payment-gateways.php line 336
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
                }
            }
        }
     
        return array_filter( (array) apply_filters( 'woocommerce_available_payment_gateways', $_available_gateways ), array( $this, 'filter_valid_gateway_class' ) );
    }
     
    /**
     * Callback for array filter. Returns true if gateway is of correct type.
     *
     * @since 3.6.0

See this hook used in plugins: