Skip to content

Commit 719f574

Browse files
committed
Use getHookName for crawling_complete
1 parent 600702a commit 719f574

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Crawler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ public function crawlComplete(): void {
142142
'cache_hits' => $this->cache_hits,
143143
];
144144

145-
do_action( 'wp2static_crawling_complete', $args );
145+
do_action( Controller::getHookName( 'crawling_complete' ), $args );
146146
}
147147

148148
public function crawlPath( array $detected, array $site_urls ): PromiseInterface {

0 commit comments

Comments
 (0)