Skip to content

Commit

Permalink
require features module
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed Apr 25, 2024
1 parent 46cdb73 commit c8b6cd2
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

if ( function_exists( 'add_action' ) ) {

add_action(
add_filter(
'newfold/features/filter/isEnabled/staging',
function($value) {
if ( 'atomic' === getContext( 'platform' ) ) {
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
}
},
"require": {
"newfold-labs/wp-module-context": "^1.0"
"newfold-labs/wp-module-context": "^1.0",
"newfold-labs/wp-module-features": "dev-main"
}
}
58 changes: 56 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c8b6cd2

Please sign in to comment.