Skip to content

Commit a5a35d0

Browse files
committed
fix: REST Handler hook compat
1 parent 3e01bc6 commit a5a35d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Invoker.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,8 @@ private function invoke_methods( Can_Handle $h ): static {
399399
$this->add_callback( $cb );
400400
}
401401

402+
do_action( "xwp_di_hooks_loaded_{$h->get_classname()}" );
403+
402404
return $this;
403405
}
404406

0 commit comments

Comments
 (0)