diff --git a/includes/functions.php b/includes/functions.php index f2c757a577ab0638eebd3e806f352c9a47a5de6d..22d50bc3c0fb3441a41c82dfe6663cee986ab2bb 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -116,7 +116,7 @@ function get_command_whitelist() { 'widget', ); - return apply_filters( 'wp_cli_cron_control_offload_subcommand_whitelist', $whitelist ); + return apply_filters( 'wp_cli_cron_control_offload_command_whitelist', $whitelist ); } /**