get( 'Version' ); $version_string = is_string( $theme_version ) ? $theme_version : false; $suffix = SCRIPT_DEBUG ? '' : '.min'; $src = 'style' . $suffix . '.css'; wp_enqueue_style( 'twentytwentytwo-style', get_parent_theme_file_uri( $src ), array(), $version_string ); wp_style_add_data( 'twentytwentytwo-style', 'path', get_parent_theme_file_path( $src ) ); } endif; add_action( 'wp_enqueue_scripts', 'twentytwentytwo_styles' ); // Add block patterns. require get_template_directory() . '/inc/block-patterns.php';