wc_gzd_get_page_permalink

The WooCommerce Germanized wc gzd get page permalink function.

Description

wc_gzd_get_page_permalink( $type ); 

Parameters (1)

0. $type
The type.

Usage

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

Defined (1)

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

/includes/wc-gzd-core-functions.php  
  1. function wc_gzd_get_page_permalink( $type ) { 
  2. $page_id = wc_get_page_id( $type ); 
  3. $link = $page_id ? get_permalink( $page_id ) : ''; 
  4. return apply_filters( 'woocommerce_gzd_legal_page_permalink', $link, $type );