force_filtered_html_on_import

force_filtered_html_on_import

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('force_filtered_html_on_import') is found 1 times:

  • /wp-admin/admin.php line 360
    	 * @since 3.1.0
    	 *
    	 * @param bool $force Whether to force data to be filtered through kses. Default false.
    	 */
    	if ( apply_filters( 'force_filtered_html_on_import', false ) ) {
    		kses_init_filters();  // Always filter imported data with kses on multisite.
    	}
    
    	call_user_func( $wp_importers[ $importer ][2] );
    
    	require_once ABSPATH . 'wp-admin/admin-footer.php';
    

See this hook used in plugins: