Skip to content

Commit

Permalink
fix namespacing issue in composer
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Feb 20, 2024
1 parent 871e838 commit 2a48a1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"autoload": {
"psr-4": {
"NewfoldLabs\\WP\\Module\\Context\\": "includes"
"NewfoldLabs\\WP\\Context\\": "includes"
},
"files": [
"bootstrap.php"
Expand Down
2 changes: 2 additions & 0 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

use NewfoldLabs\WP\Context\Context;

require_once BLUEHOST_PLUGIN_DIR . 'vendor/newfold-labs/wp-module-context/includes/Context.php';

/**
* Helper Get Context Method
*
Expand Down

0 comments on commit 2a48a1e

Please sign in to comment.