attribute_escape()

最后更新于:2021-11-25 19:51:36

attribute_escape( string$text)

Escaping for HTML attributes.

参数

$text

(string) (Required)

响应

(string)

源文件

文件: gc-includes/deprecated.php

function attribute_escape( $text ) {
	_deprecated_function( __FUNCTION__, '2.8.0', 'esc_attr()' );
	return esc_attr( $text );
}