Panel hooks in Kirby 2.2


I have the impression that the panel hook “” is no longer called when a new page is created.
Is this a known issue ? Am I doing something wrong or am I missing something ?

best regards,

I just tested this and works fine. This was my test code:

kirby()->hook('', 'run');

function run( $page ) {
  $path = kirby()->roots()->content();

  $content = '';
  $content .= $page->title();

  file_put_contents( $path . '/test.txt', $content );


Thank you.

The error is indeed elsewhere in my code.
Sorry for the bother

Hi again,

Related to my problems : is there a way to define the order in which multiple hooks get called on the same hook-ID ?