wpseek.com
WordPress开发者和主题制作者的搜索引擎


custom_tags › WordPress常量

Since1.2.0
› define( 'CUSTOM_TAGS', false );
定义在:

Specifies the default allowable HTML tags.

Using `CUSTOM_TAGS` is not recommended and should be considered deprecated. The {@see 'wp_kses_allowed_html'} filter is more powerful and supplies context. When using this constant, make sure to set all of these globals to arrays: - `$allowedposttags` - `$allowedtags` - `$allowedentitynames` - `$allowedxmlentitynames`

源码

define( 'CUSTOM_TAGS', false );