fix action arg num

This commit is contained in:
Leon 2020-11-28 15:43:33 +10:30
parent 672659bc8b
commit e4f9a3175e
2 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ class Controller {
'wp2static_deploy',
[ $this, 'deploy' ],
15,
1
2
);

add_action(

View file

@ -23,7 +23,7 @@ if ( file_exists( WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php' ) ) {
require WP2STATIC_NETLIFY_PATH . 'vendor/autoload.php';
}

function run_wp2static_addon_netlify() {
function run_wp2static_addon_netlify() : void {
$controller = new WP2StaticNetlify\Controller();
$controller->run();
}