wc_dynamic_gallery_init

Load languages file.

Description

wc_dynamic_gallery_init(); 

Usage

  1. if ( !function_exists( 'wc_dynamic_gallery_init' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-dynamic-gallery-lite/admin/wc_gallery_woocommerce_admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = wc_dynamic_gallery_init(); 
  7.  

Defined (1)

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

/admin/wc_gallery_woocommerce_admin.php  
  1. function wc_dynamic_gallery_init() { 
  2. if ( get_option('a3rev_woo_dgallery_just_installed') ) { 
  3. delete_option('a3rev_woo_dgallery_just_installed'); 
  4. wp_redirect( admin_url( 'admin.php?page=woo-dynamic-gallery', 'relative' ) ); 
  5. exit; 
  6. load_plugin_textdomain( 'woo_dgallery', false, WOO_DYNAMIC_GALLERY_FOLDER.'/languages' );