wc_boleto_get_boleto_url

Get boleto URL from order key.

Description

(string) wc_boleto_get_boleto_url( (string) $code ); 

Returns (string)

Parameters (1)

0. $code (string)
The code.

Usage

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

Defined (1)

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

/includes/wc-boleto-functions.php  
  1. function wc_boleto_get_boleto_url( $code ) { 
  2. return WC_Boleto::get_boleto_url( $code );