WPLib::templates_subdir PHP Method

templates_subdir() static public method

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