apply_filters( ‘force_filtered_html_on_import’, bool $force )

In this article

Filters whether to filter imported data through kses on import.

Description

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

Parameters

$forcebool
Whether to force data to be filtered through kses. Default false.

Source

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

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.