Function Reference: geodir_wpml_register_string

Summary

Registers a individual text string for WPML translation.

Package

GeoDirectory

Parameters

$string
(string) (required) The string that needs to be translated.

Default: None
$domain
(string) (required) The plugin domain.

Default: geodirectory
$name
(string) (required) The name of the string which helps to know what’s being translated.

Default: None

Change Log

Since: 1.6.16 Details page add locations to the term links.

Actions

‘wpml_register_single_string’ [Line: 5268]

Source File

geodir_wpml_register_string() is located in geodirectory-functions/general_functions.php [Line: 5267]

Source Code

function geodir_wpml_register_string( $string, $domain = 'geodirectory', $name = '' ) {
    do_action( 'wpml_register_single_string', $domain, $name, $string );
}