_wp_footnotes_kses_init()
Registers the filter of footnotes meta field if the user does not have unfiltered_html capability.
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Return
null
. Nothing (null).
Usage
_wp_footnotes_kses_init();
Changelog
Since 6.3.2 | Introduced. |
_wp_footnotes_kses_init() wp footnotes kses init code WP 6.6.1
function _wp_footnotes_kses_init() { _wp_footnotes_remove_filters(); if ( ! current_user_can( 'unfiltered_html' ) ) { _wp_footnotes_kses_init_filters(); } }