Skip to content

Commit

Permalink
Moves files into separate directories
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstandiford committed Aug 25, 2021
1 parent 640a486 commit e5dadec
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

// Add this loader.
add_action( 'underpin/before_setup', function ( $file, $class ) {
require_once( plugin_dir_path( __FILE__ ) . 'Blocks.php' );
require_once( plugin_dir_path( __FILE__ ) . 'Block.php' );
require_once( plugin_dir_path( __FILE__ ) . 'Block_Instance.php' );
require_once( plugin_dir_path( __FILE__ ) . 'lib/loaders/Blocks.php' );
require_once( plugin_dir_path( __FILE__ ) . 'lib/abstracts/Block.php' );
require_once( plugin_dir_path( __FILE__ ) . 'lib/factories/Block_Instance.php' );
Underpin\underpin()->get( $file, $class )->loaders()->add( 'blocks', [
'registry' => 'Underpin_Blocks\Loaders\Blocks',
] );
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e5dadec

Please sign in to comment.