i am devolping a theme localy using xampp and i have enqued my stylesheet as following:
function hireme_register_styles() {
$theme_version = wp_get_theme()->get( 'Version' );
wp_enqueue_style( 'hireme-style', get_stylesheet_uri(), array(), $theme_version );
wp_style_add_data( 'hireme-style', 'rtl', 'replace' );
}
add_action( 'wp_enqueue_scripts', 'hireme_register_styles' );
based on 2020 theme. but when i close the project then open it again. i should delete the $theme_version variable that the theme can detect changes.
where is the problem please ?