Hello,
I noticed that the Pages::added hook gets called twice. PW 3.0.62.
To test , add this to admin.php
wire()->addHookAfter('Pages::added', function($event) {
bardump('added'); // needs Tracy Debugger
});
Can anyone confirm this?
It gives me trouble when adding a hook that skips the page add step (for users), following Pete's concept. There will always be created 2 new pages which I need to avoid.
Is it a feature or a bug?