yit_wpml_register_string

Register a string in wpml trnslation.

Description

yit_wpml_register_string( $contenxt, (string) $name, $value ); 

Parameters (3)

0. $contenxt
The contenxt.
1. $name (string)
String name
2. $value
Value to translate

Usage

  1. if ( !function_exists( 'yit_wpml_register_string' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'yith-woocommerce-wishlist/plugin-fw/yit-functions.php'; 
  3.  
  4. // The contenxt. 
  5. $contenxt = null; 
  6.  
  7. // string name 
  8. $name = ''; 
  9.  
  10. // value to translate 
  11. $value = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = yit_wpml_register_string($contenxt, $name, $value); 
  15.  

Defined (1)

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

/plugin-fw/yit-functions.php  
  1. function yit_wpml_register_string ( $contenxt, $name, $value ) { 
  2. // wpml string translation 
  3. do_action ( 'wpml_register_single_string', $contenxt, $name, $value );