wcpbc_country_selector

Hook actions and shortcodes.


Usage

  1. // basic usage 
  2. echo do_shortcode('[wcpbc_country_selector]'); 
  1. // variable usage 
  2. $result = do_shortcode('[wcpbc_country_selector]'); 
  3. echo $result;  

Defined (1)

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

/includes/class-wcpbc-country-selector.php  
  1. /** 
  2. * Hook actions and shortcodes 
  3. */ 
  4. public static function init() {  
  5.  
  6. add_shortcode( wcpbc_country_selector, array( __CLASS__ , 'shortcode_country_selector' ) ); 
  7.  
  8. add_action( 'wcpbc_manual_country_selector', array( __CLASS__ , 'output_country_selector' ) ); 
  9.  
  10. /**