I have a WordPress site. How to get the path of current WordPress theme from theme’s files.
You can use WordPress native function – get_stylesheet_directory_uri to get the path of the current theme.
$style = get_stylesheet_directory_uri() . '/style.css'