array( 'rel' => array(), 'sizes' => array(), 'href' => array(), ), ); if ( isset ( $header_icons ) ) echo wp_kses( $header_icons, $allowed_html_array ); } add_action( 'wp_head', 'tl_allo_header_icons' ); } /** * Custom scripts and styles on header * * @since 1.0 */ function tl_allo_header_scripts_css() { // Custom CSS ob_start(); get_template_part('inc/frontend/color-schemer'); $custom_css_code = ob_get_clean(); wp_add_inline_style( 'tl-allo-style', $custom_css_code ); } add_action( 'wp_enqueue_scripts', 'tl_allo_header_scripts_css', 300 );