icl_unregister_string

The Polylang icl unregister string function.

Description

icl_unregister_string( $context, (string) $name ); 

Parameters (2)

0. $context
The context.
1. $name (string)
The name.

Usage

  1. if ( !function_exists( 'icl_unregister_string' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'polylang/modules/wpml/wpml-legacy-api.php'; 
  3.  
  4. // The context. 
  5. $context = null; 
  6.  
  7. // The name. 
  8. $name = ''; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = icl_unregister_string($context, $name); 
  12.  

Defined (1)

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

/modules/wpml/wpml-legacy-api.php  
  1. function icl_unregister_string( $context, $name ) { 
  2. PLL_WPML_Compat::instance()->unregister_string( $context, $name );