clean_url

最后更新于:2021-11-25 23:56:20

apply_filters( ‘clean_url’, string $good_protocol_url, string $original_url, string $_context )

Filters a string cleaned and escaped for output as a URL.

参数

$good_protocol_url

(string)
The cleaned URL to be returned.

$original_url

(string)
The URL prior to cleaning.

$_context

(string)
If ‘display’, replace ampersands and single quotes only.

源文件

文件: gc-includes/formatting.php

View on Trac