wc_get_account_payment_methods_columns

Get My Account > Payment methods columns.

Description

(array) wc_get_account_payment_methods_columns(); 

Returns (array)


Usage

  1. if ( !function_exists( 'wc_get_account_payment_methods_columns' ) ) { 
  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_columns(); 
  7.  

Defined (1)

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

/includes/wc-account-functions.php  
  1. function wc_get_account_payment_methods_columns() { 
  2. return apply_filters( 'woocommerce_account_payment_methods_columns', array( 
  3. 'method' => __( 'Method', woocommerce ),  
  4. 'expires' => __( 'Expires', woocommerce ),  
  5. 'actions' => ' ',  
  6. ) );