wpseek.com
A WordPress-centric search engine for devs and theme authors



_wp_footnotes_kses_init › WordPress Function

Since6.3.2
Deprecatedn/a
_wp_footnotes_kses_init ( No parameters )
Access:
  • private
Defined at:
Codex:

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();
	}
}