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

apply_filters('pre_kses') is found 1 times:

  • /wp-includes/kses.php line 946
    	 *                                          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: