<?php

return [
    /**
     * excerpt-length
     *
     * how many words should the wordpress excerpt be
     */
    "excerpt-length" => 100,


    /**
     * guest-class
     *
     * if you want wordpress to automatically append a class to the body_class
     * list when users are not authenticated, put that class name here. it
     * defaults to "guest"
     */
    "guest-class" => "guest",


    /**
     * menu-locations
     *
     * register your individual menu locations here
     */
    "menu-locations" => [
        "main-nav" => "Main Navigation",
    ],


    /**
     * custom-post-types
     *
     * here is where you can define your custom post types easily
     */
    "custom-post-types" => [],


    "options-pages" => [
        "Site Options",
        "Store Settings",
        "Promo Settings",
    ],


    /**
     * handlebars
     *
     * We use handlebars templating extensivly in this theme and code pattern.
     * You can adjust the defaults for many attributes here.
     *
     * Set this to `false` to disable handlebars functionality completely
     */
    "handlebars" => [
        "additional-helpers" => [
            "formatDate" => \Helpers\DateFormatter::monthDayYear(),
            "ratingStars" => \Helpers\Ratings::ratingsStars(),
            "numberFormatter" => \Helpers\Ratings::numberFormatter(),
            "currencyFormatter" => \Helpers\Ratings::currencyFormatter(),
            "productTitleFormatter" => \Helpers\StringFormatter::productTitle(),
            "adminOrderLabel" => \Helpers\StringFormatter::adminOrderLabel(),
            "debug" => \Helpers\Debug::dd(),
            "gravityForm" => \Helpers\Form::parseForm(),
        ],
    ],


    /**
     * enable
     *
     * enable individual wordpress features here
     */
    "enable" => [
        "post-thumbnails",
        "menus",
    ],


    /**
     * disable
     *
     * disable individual wordpress features here
     */
    "disable" => [
        "editor",
    ],

    'debug' => true
];
