mirror of
https://ghproxy.net/https://github.com/elementor/wp2static-addon-netlify.git
synced 2025-10-04 07:21:38 +08:00
fix action arg num
This commit is contained in:
parent
672659bc8b
commit
e4f9a3175e
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ class Controller {
|
|||
'wp2static_deploy',
|
||||
[ $this, 'deploy' ],
|
||||
15,
|
||||
1
|
||||
2
|
||||
);
|
||||
|
||||
add_action(
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue