js_escape

js_escape

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('js_escape') is found 1 times:

  • /wp-includes/formatting.php line 4643
    	 *
    	 * @param string $safe_text The text after it has been escaped.
    	 * @param string $text      The text prior to being escaped.
    	 */
    	return apply_filters( 'js_escape', $safe_text, $text );
    }
    
    /**
     * Escaping for HTML blocks.
     *
     * @since 2.8.0