How is it possible to put the WordPress global and classic inline css style into the head?
I do not use the main function wp_head()
so I am looking for a programmatically answer.
What I tried so far
add_action('wp_enqueue_scripts', function(){
wp_enqueue_style('global-styles');
wp_register_style('global-styles');
});
and
add_action('init', function(){
wp_enqueue_global_styles();
});
But this does not make sense.
Hope somebody has the answer or can put me in the right direction.