diff --git a/src/Command/ScaffoldPluginCommand.php b/src/Command/ScaffoldPluginCommand.php index 662e715..38d67cb 100644 --- a/src/Command/ScaffoldPluginCommand.php +++ b/src/Command/ScaffoldPluginCommand.php @@ -266,6 +266,9 @@ protected function execute( InputInterface $input, OutputInterface $output ) { $pluginViewFolderName = $this->askAndConfirm( $io, "What is your plugin's view folder name ? (e.g: 'my-plugin') " ); self::doStrReplace( $installPath, 'bea-pb', $pluginViewFolderName ); + // blocks filter + self::doStrReplace( $installPath, 'bea_pb_blocks', str_replace( '-', '_', $pluginName ) . '_blocks' ); + if ( $is_psr_4 && false === $no_autoload ) { /**