Skip to content

Commit 63ad44b

Browse files
committed
Add 'datakit/loaded' action
1 parent ee66a43 commit 63ad44b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/DataKitPlugin.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ public function register_scripts(): void {
133133
public static function get_instance( DataViewRepository $repository ): self {
134134
if ( ! isset( self::$instance ) ) {
135135
self::$instance = new self( $repository );
136+
137+
do_action( 'datakit/loaded' );
136138
}
137139

138140
return self::$instance;

0 commit comments

Comments
 (0)