Skip to content

Commit

Permalink
Update plugin name registry for 3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
afbora committed Oct 10, 2022
1 parent 931eb1f commit 858b97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Kirby\Cms\Page;
use Kirby\Filesystem\File as BaseFile;

Kirby::plugin('afbora/kirby-template-hooks', [
Kirby::plugin('afbora/template-hooks', [
'hooks' => [
'file.changeName:after' => function (File $newFile, File $oldFile) {
Kirby::instance()->trigger('file.' . $newFile->template()->name() . '.changeName:after', compact('newFile', 'oldFile'));
Expand Down

0 comments on commit 858b97c

Please sign in to comment.