Function __global->unschedule_code
Definitions
sources/calendar2.php
- Remove a run_scheduled_action calendar event based on the provided hook and ID.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $hook | ID_TEXT | No | No | required parameter | N/A | N/A | Hook to run under systems/commandr_scheduled |
| $id | string | No | No | required parameter | N/A | N/A | Unspecified identifier for the resource behind this scheduled event |
Preview
Code (PHP)
/**
* Remove a run_scheduled_action calendar event based on the provided hook and ID.
*
* @param ID_TEXT $hook Hook to run under systems/commandr_scheduled
* @param string $id Unspecified identifier for the resource behind this scheduled event
*/
function unschedule_code(string $hook, string $id)
* Remove a run_scheduled_action calendar event based on the provided hook and ID.
*
* @param ID_TEXT $hook Hook to run under systems/commandr_scheduled
* @param string $id Unspecified identifier for the resource behind this scheduled event
*/
function unschedule_code(string $hook, string $id)

