private static function fewbricks_template_dir_exists()
{
$fewbricks_template_dir_exists = file_exists(get_stylesheet_directory() . '/fewbricks');
if (!$fewbricks_template_dir_exists) {
// Make sure that the fewbricks/fewbricks-directory has been moved to the template directory.
add_action('admin_notices', function () {
echo self::$messages['fewbricks_template_dir_missing'];
});
}
return $fewbricks_template_dir_exists;
}