js_escape

最后更新于:2021-11-27 02:36:04

apply_filters( ‘js_escape’, string $safe_text, string $text )

Filters a string cleaned and escaped for output in JavaScript.

参数

$safe_text

(string)
The text after it has been escaped.

$text

(string)
The text prior to being escaped.

源文件

文件: gc-includes/formatting.php

View on Trac