Skip to content

Commit

Permalink
Remove unused namespace code
Browse files Browse the repository at this point in the history
  • Loading branch information
wolffe committed Oct 21, 2024
1 parent 0b817c1 commit f5f508d
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions includes/settings/setup.php
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
<?php
/**
* Setup Settings NameSpace
* @since 1.0.0
**/
namespace fx_builder\settings;

if ( ! defined( 'WPINC' ) ) {
die;
}

define( __NAMESPACE__ . '\URI', trailingslashit( plugin_dir_url( __FILE__ ) ) );
define( __NAMESPACE__ . '\PATH', trailingslashit( plugin_dir_path( __FILE__ ) ) );
define( __NAMESPACE__ . '\VERSION', $version );

add_action( 'init', 'fxb_add_builder_support' );

/**
* Enable FX Builder for Post Types
*/
Expand Down Expand Up @@ -45,3 +29,5 @@ function fxb_check_post_types_exists( $input ) {

return array_filter( $input, 'post_type_exists' );
}

add_action( 'init', 'fxb_add_builder_support' );

0 comments on commit f5f508d

Please sign in to comment.