wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes



wp_custom_css_kses_init › WordPress Function

Depuis7.0.0
Dépréciéen/a
› wp_custom_css_kses_init ( Pas de paramètres )
Accès:
  • private
Défini(e) dans:
Codex:

Registers the custom CSS content filters if the user does not have the edit_css capability.



Source

function wp_custom_css_kses_init() {
	wp_custom_css_remove_filters();
	if ( ! current_user_can( 'edit_css' ) ) {
		wp_custom_css_kses_init_filters();
	}
}