_wp_footnotes_kses_init()

In this article

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

Registers the filter of footnotes meta field if the user does not have unfiltered_html capability.

Source

function _wp_footnotes_kses_init() {
	_wp_footnotes_remove_filters();
	if ( ! current_user_can( 'unfiltered_html' ) ) {
		_wp_footnotes_kses_init_filters();
	}
}

Changelog

VersionDescription
6.3.2Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.