diff --git a/src/Controller.php b/src/Controller.php index f8068f2..aa9ea87 100755 --- a/src/Controller.php +++ b/src/Controller.php @@ -20,7 +20,7 @@ public function run() : void { 'wp2static_deploy', [ $this, 'deploy' ], 15, - 1 + 2 ); add_action( diff --git a/wp2static-addon-netlify.php b/wp2static-addon-netlify.php index 0ee76d8..a90ec03 100644 --- a/wp2static-addon-netlify.php +++ b/wp2static-addon-netlify.php @@ -23,7 +23,7 @@ require WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php'; } -function run_wp2static_addon_netlify() { +function run_wp2static_addon_netlify() : void { $controller = new WP2StaticNetlify\Controller(); $controller->run(); }