woocommerce_before_account_payment_methods, $has_methods
woocommerce_before_account_payment_methods, $has_methods
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_before_account_payment_methods, $has_methods') is found 1 times:
- /templates/myaccount/payment-methods.php line 26
$saved_methods = wc_get_customer_saved_methods_list( get_current_user_id() ); $has_methods = (bool) $saved_methods; $types = wc_get_account_payment_methods_types(); do_action( 'woocommerce_before_account_payment_methods', $has_methods ); ?> <?php if ( $has_methods ) : ?> <table class="woocommerce-MyAccount-paymentMethods shop_table shop_table_responsive account-payment-methods-table"> <thead> <tr>