each(function ($file) { if (! locate_template($file = "app/{$file}.php", true, true)) { wp_die( /* translators: %s is replaced with the relative file path */ sprintf(__('Error locating %s for inclusion.', 'sage'), $file) ); } }); /* |-------------------------------------------------------------------------- | Enable Sage Theme Support |-------------------------------------------------------------------------- | | Once our theme files are registered and available for use, we are almost | ready to boot our application. But first, we need to signal to Acorn | that we will need to initialize the necessary service providers built in | for Sage when booting. | */ add_theme_support('sage');