pre_kses

pre_kses

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('pre_kses') is found 1 times:

  • /wp-includes/kses.php line 946
    942
    943
    944
    945
    946
    947
    948
    949
    950
    951
    952
         *                                          or a context name such as 'post'. See wp_kses_allowed_html()
         *                                          for the list of accepted context names.
         * @param string[]       $allowed_protocols Array of allowed URL protocols.
         */
        return apply_filters( 'pre_kses', $content, $allowed_html, $allowed_protocols );
    }
     
    /**
     * Returns the version number of KSES.
     *
     * @since 1.0.0

See this hook used in plugins: