I asked this question elsewhere, and was told with the following code, that I was using my defines incorrectly? So nothing is getting returned currently –
I have tried setting constants in functions.php –
define( 'THEME_DIR', get_template_directory() . '/' );
define( 'THEME_URI', get_template_directory_uri() . '/' );
and then in my config file –
$sample_patterns_path = 'THEME_DIR' . '../sample/patterns/';
$sample_patterns_url = 'THEME_URI' . '../sample/patterns/';
Use this code, without slashes: