wpseek.com
A WordPress-centric search engine for devs and theme authors



force_filtered_html_on_import › WordPress Filter Hooks

Since3.1.0
Deprecatedn/a
apply_filters( 'force_filtered_html_on_import', false )
Parameters:
  • (bool) $force Whether to force data to be filtered through kses. Default false.
    Required: Yes
Defined at:
Codex:

Filters whether to filter imported data through kses on import.

Multisite uses this hook to filter all data through kses by default, as a super administrator may be assisting an untrusted user.





Source

if ( apply_filters( 'force_filtered_html_on_import', false ) ) {