wc_next_scheduled_action()
Deprecated since 2.1.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Get next scheduled action.
No Hooks.
Returns
Int|true|false. The timestamp for the next occurrence, or false if nothing was found
Usage
wc_next_scheduled_action( $hook, $args, $group );
- $hook(string) (required)
- Action's hook.
- $args(array)
- Action's args.
Default: null - $group(string)
- Action's group.
Default: ''
Changelog
| Deprecated since | 2.1.0 |
wc_next_scheduled_action() wc next scheduled action code WC 10.3.6
function wc_next_scheduled_action( $hook, $args = null, $group = '' ) {
_deprecated_function( __FUNCTION__, '2.1.0', 'as_next_scheduled_action()' );
return as_next_scheduled_action( $hook, $args, $group );
}