Here’s the list of functions that are helpful to get directories path in WordPress. You can use it while developing a theme or even creating a plugin.
List of WordPress directories functions
in WordPress on June 15, 2021development directories functions home_url plugin theme
You might also like these