wc_get_account_payment_methods_types

Get My Account > Payment methods types.

Description

(array) wc_get_account_payment_methods_types(); 

Returns (array)


Usage

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

Defined (1)

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

/includes/wc-account-functions.php  
  1. function wc_get_account_payment_methods_types() { 
  2. return apply_filters( 'woocommerce_payment_methods_types', array( 
  3. 'cc' => __( 'Credit card', woocommerce ),  
  4. 'echeck' => __( 'eCheck', woocommerce ),  
  5. ) );