is_payment_methods

Is_checkout - Returns true when viewing the checkout page.

Description

is_payment_methods(); 

Usage

  1. if ( !function_exists( 'is_payment_methods' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-germanized/includes/wc-gzd-core-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = is_payment_methods(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-gzd-core-functions.php  
  1. function is_payment_methods() { 
  2. return is_page( wc_get_page_id( 'payment_methods' ) ) || apply_filters( 'woocommerce_gzd_is_payment_methods', false ) ? true : false;