static function templates_subdir() { /* * Allow the templates subdir to be overridden in the config file */ return defined('WPLIB_TEMPLATES_SUBDIR') ? WPLIB_TEMPLATES_SUBDIR : 'templates'; }