Theres no such hook as wp_enqueue_style
. Stylesheets need to be enqueued on the wp_enqueue_scripts
hook, as seen in the documentation.
So this:
add_action( 'wp_enqueue_style', 'test_enqueue_styles');
Needs to be:
add_action( 'wp_enqueue_scripts', 'test_enqueue_styles');
I’d also suggest reviewing the documentation on hooks, to understand what add_action()
does.