feat: establish CHRNX block theme foundation
This commit is contained in:
21 files changed
+2394
-13
No files matched your search
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
define( 'CHRNX_VERSION', '0.1.0' );
|
||||
|
||||
// phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
|
||||
foreach ( array( 'setup', 'assets', 'taxonomies', 'editor', 'podcast-meta', 'settings', 'queries', 'blocks', 'theme-preference' ) as $module ) {
|
||||
// phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
|
||||
$path = get_theme_file_path( "inc/{$module}.php" );
|
||||
if ( file_exists( $path ) ) {
|
||||
require_once $path;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user