woocommerce_no_available_payment_methods_message

woocommerce_no_available_payment_methods_message

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_no_available_payment_methods_message') is found 2 times:

  • /templates/checkout/form-pay.php line 89
    						wc_get_template( 'checkout/payment-method.php', array( 'gateway' => $gateway ) );
    					}
    				} else {
    					echo '<li>';
    					wc_print_notice( apply_filters( 'woocommerce_no_available_payment_methods_message', esc_html__( 'Sorry, it seems that there are no available payment methods for your location. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) ), 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
    					echo '</li>';
    				}
    				?>
    			</ul>
    		<?php endif; ?>
    		<div class="form-row">
    
  • /templates/checkout/payment.php line 34
    					wc_get_template( 'checkout/payment-method.php', array( 'gateway' => $gateway ) );
    				}
    			} else {
    				echo '<li>';
    				wc_print_notice( apply_filters( 'woocommerce_no_available_payment_methods_message', WC()->customer->get_billing_country() ? esc_html__( 'Sorry, it seems that there are no available payment methods. Please contact us if you require assistance or wish to make alternate arrangements.', 'woocommerce' ) : esc_html__( 'Please fill in your details above to see available payment methods.', 'woocommerce' ) ), 'notice' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment
    				echo '</li>';
    			}
    			?>
    		</ul>
    	<?php endif; ?>
    	<div class="form-row place-order">