wp theme path <theme>
Gets the path to a theme or to the theme directory
Arguments
Name | Description |
---|---|
theme | The theme to get the path to. Path includes “style.css” file. If not set, will return the path to the themes directory |
Options
Name | Description |
---|---|
--dir | If set, get the path to the closest parent directory, instead of the theme’s “style.css” file |