addslashes_gpc() WP 0.71
Adds slashes to escape strings.
Slashes will first be removed if magic_quotes_gpc is set, see https://www.php.net/magic_quotes for more details.
Хуков нет.
Возвращает
Строку. Returns a string escaped with slashes.
Использование
addslashes_gpc( $gpc );
- $gpc(строка) (обязательный)
- The string returned from HTTP request data.
Список изменений
С версии 0.71 | Введена. |
Код addslashes_gpc() addslashes gpc WP 5.6.2
function addslashes_gpc( $gpc ) {
return wp_slash( $gpc );
}