Skip to content

Commit

Permalink
(chore): add CommandServiceProvider to theme/functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hnccox committed Jan 3, 2025
1 parent 089f020 commit 57ddafd
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions htdocs/wp-content/themes/hollandskroon/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

defined('ABSPATH') || exit;

try {
(new HK\Providers\CommandServiceProvider())->boot();
} catch (Exception $e) {
// Log error.
error_log('Error booting CommandServiceProvider: ' . $e->getMessage());
}

/**
* If the browser of the visitor is not Chrome or Edge.
* Display message,
Expand Down

0 comments on commit 57ddafd

Please sign in to comment.