get( 'Version' ); $version_string = is_string( $theme_version ) ? $theme_version : false; wp_register_style( 'twentytwentytwo-style', get_template_directory_uri() . '/style.css', array(), $version_string ); // Enqueue theme stylesheet. wp_enqueue_style( 'twentytwentytwo-style' ); } endif; add_action( 'wp_enqueue_scripts', 'twentytwentytwo_styles' ); // Add block patterns. require get_template_directory() . '/inc/block-patterns.php';