glt

The Google Language Translator glt shortcode.


Usage

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

Defined (1)

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

/google-language-translator.php  
  1. add_action( 'admin_menu', array( &$this, 'add_my_admin_menus')); 
  2. add_action('admin_init', array(&$this, 'initialize_settings')); 
  3. add_action('wp_head', array(&$this, 'load_css')); 
  4. add_action('wp_footer', array(&$this, 'footer_script')); 
  5. add_shortcode( 'google-translator', array(&$this, 'google_translator_shortcode')); 
  6. add_shortcode( 'glt', array(&$this, 'google_translator_menu_language')); 
  7. add_filter('widget_text', 'do_shortcode'); 
  8. add_filter('walker_nav_menu_start_el', array(&$this, 'menu_shortcodes') , 10 , 2); 
  9. add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this, 'glt_settings_link') ); 
  10.  
  11. if (!is_admin()) {