woocommerce_before_account_payment_methods

woocommerce_before_account_payment_methods

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_before_account_payment_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>