cptbc_loadtranslations

The CPT Bootstrap Carousel cptbc loadtranslations function.

Description

cptbc_loadtranslations(); 

Usage

  1. if ( !function_exists( 'cptbc_loadtranslations' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'cpt-bootstrap-carousel/cpt-bootstrap-carousel.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = cptbc_loadtranslations(); 
  7.  

Defined (1)

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

/cpt-bootstrap-carousel.php  
  1. function cptbc_loadtranslations () { 
  2. $plugin_dir = basename(dirname(__FILE__)).'/languages'; 
  3. load_plugin_textdomain( 'cpt-bootstrap-carousel', false, $plugin_dir );