woocommerce_after_account_payment_methods

woocommerce_after_account_payment_methods

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_after_account_payment_methods') is found 1 times:

  • /templates/myaccount/payment-methods.php line 74

    Warning: Undefined array key 78 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    Warning: Undefined array key 79 in /home/c6974294/public_html/wp-plugin-api.com/wp-content/themes/wordpress-hooks/functions.php on line 167

    	<?php wc_print_notice( esc_html__( 'No saved methods found.', 'woocommerce' ), 'notice' ); ?>
    
    <?php endif; ?>
    
    <?php do_action( 'woocommerce_after_account_payment_methods', $has_methods ); ?>
    
    <?php if ( WC()->payment_gateways->get_available_payment_gateways() ) : ?>
    	<a class="button" href="<?php echo esc_url( wc_get_endpoint_url( 'add-payment-method' ) ); ?>"><?php esc_html_e( 'Add payment method', 'woocommerce' ); ?></a>
    <?php endif; ?>