WpOrg\Requests
IdnaEncoder::nameprep
Prepare a text string for use as an IDNA name
Method of the class: IdnaEncoder{}
No Hooks.
Returns
String. Prepared string
Usage
$result = IdnaEncoder::nameprep( $text );
- $text(string) (required)
- Text to prepare.
IdnaEncoder::nameprep() IdnaEncoder::nameprep code WP 7.0
protected static function nameprep($text) {
return $text;
}