hooks do not work
-
Thanks for his plugin, i works great.
However the hook does not work, if I add this://Exclude folders by default when cloning add_filter('wpstg_clone_excl_folders', 'custom_simnigeria_wpstg_exclude_folders_custom'); function custom_simnigeria_wpstg_exclude_folders_custom($args){ error_log(print_r($args,true)); $folders = array('wp-staging', 'wp-fastest-cache', 'wp-2fa', 'super-progressive-web-apps', 'onesignal-free-web-push-notifications'); return array_merge($args, $folders); }I get a lot of errors:
trying to access array offset on value of type null in /.../public_html/wp-content/plugins/wp-staging/Core/Utils/Logger.php on line 146
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘hooks do not work’ is closed to new replies.