Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 1
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2
3namespace NewfoldLabs\WP\Module\Staging;
4
5if ( ! defined( 'NFD_STAGING_DIR' ) ) {
6    define( 'NFD_STAGING_DIR', __DIR__ );
7}
8
9if ( function_exists( 'add_filter' ) ) {
10    add_filter(
11        'newfold/features/filter/register',
12        function ( $features ) {
13            return array_merge( $features, array( StagingFeature::class ) );
14        }
15    );
16}