wc_next_scheduled_action()
Deprecated from version 2.1.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Get next scheduled action.
No Hooks.
Return
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 9.6.1
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 ); }