WordPress at Your Fingertips
filter is not described

force_filtered_html_on_import filter-hook . WP 3.1.0

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.


add_filter( 'force_filtered_html_on_import', 'filter_function_name_7104' );
function filter_function_name_7104( $force ){
	// filter...

	return $force;
Whether to force data to be filtered through kses.
Default: false


Since 3.1.0 Introduced.

Where the hook is called

In file: /wp-admin/admin.php
wp-admin/admin.php 349
if ( apply_filters( 'force_filtered_html_on_import', false ) ) {

Where in WP core the hook is used WordPress

wp-includes/ms-default-filters.php 113
add_filter( 'force_filtered_html_on_import', '__return_true' );