WordPress Paths

get_stylesheet_directory()
This function returns the absolute path of the current theme (the stylesheet directory) that contains your stylesheet(s). If you have a child theme, this returns the absolute path of the child theme.

Leave a comment

Your email address will not be published. Required fields are marked *