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.7.2

apply_filters('force_filtered_html_on_import') is found 1 times:

  • /wp-admin/admin.php line 360
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    * @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: