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 2e3710f commit 00058b5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

namespace NewfoldLabs\WP\Module\Performance;

require_once __DIR__ . '/includes/PerformanceFeature.php';
add_filter(
'newfold/features/filter/register',
function( $features ) {
return array_merge( $features, array( PerformanceFeature::class ) );
}
);

new PerformanceFeatureHooks();

0 comments on commit 00058b5

Please sign in to comment.