Skip to content

Commit

Permalink
register feature with new filter
Browse files Browse the repository at this point in the history
  • Loading branch information
circlecube committed May 21, 2024
1 parent 4ca5c99 commit 191492a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions bootstrap.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?php

namespace NewfoldLabs\WP\Module\Staging;

add_filter(
'newfold/features/filter/register',
function( $features ) {
return array_merge( $features, array( StagingFeature::class ) );
}
);
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"NewfoldLabs\\WP\\Module\\Staging\\": "includes"
},
"files": [
"includes/StagingFeature.php"
"bootstrap.php"
]
},
"require-dev": {
Expand Down

0 comments on commit 191492a

Please sign in to comment.