Function Reference/backslashit
Description
Adds backslashes before letters and before a number at the start of a string.
Usage
<?php backslashit( $string ) ?>
Parameters
- $string
- (string) (required) Value to which backslashes will be added.
- Default: None
Return Values
- (string)
- String with backslashes inserted.
Examples
Notes
- This: '\' is a backslash.
Change Log
Since: 0.71
Source File
backslashit() is located in wp-includes/formatting.php.
Related