wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_custom_css_kses_init › WordPress Function

Od7.0.0
Przestarzałyn/a
› wp_custom_css_kses_init ( Brak parametrów )
Dostęp:
  • private
Zdefiniowane na:
Codex:

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



Źródło

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