woocommerce-paypal-payments/.psalm/stubs.php

38 lines
1.4 KiB
PHP
Raw Normal View History

2021-11-08 11:37:18 +01:00
<?php
2023-06-14 12:40:01 +03:00
if (!defined('PAYPAL_INTEGRATION_DATE')) {
define('PAYPAL_INTEGRATION_DATE', '2023-06-02');
}
2021-11-08 11:37:18 +01:00
if (!defined('EP_PAGES')) {
define('EP_PAGES', 4096);
}
if (!defined('MONTH_IN_SECONDS')) {
define('MONTH_IN_SECONDS', 30 * DAY_IN_SECONDS);
}
2022-09-29 14:37:03 +02:00
if (!defined('HOUR_IN_SECONDS')) {
define('HOUR_IN_SECONDS', 60 * MINUTE_IN_SECONDS);
}
2022-12-12 17:43:46 +04:00
2023-03-14 16:38:28 +02:00
if (!defined('ABSPATH')) {
define('ABSPATH', '');
}
2022-12-12 17:43:46 +04:00
/**
* Cancel the next occurrence of a scheduled action.
*
* While only the next instance of a recurring or cron action is unscheduled by this method, that will also prevent
* all future instances of that recurring or cron action from being run. Recurring and cron actions are scheduled in
* a sequence instead of all being scheduled at once. Each successive occurrence of a recurring action is scheduled
* only after the former action is run. If the next instance is never run, because it's unscheduled by this function,
* then the following instance will never be scheduled (or exist), which is effectively the same as being unscheduled
* by this method also.
*
* @param string $hook The hook that the job will trigger.
* @param array $args Args that would have been passed to the job.
* @param string $group The group the job is assigned to.
*
* @return string|null The scheduled action ID if a scheduled action was found, or null if no matching action found.
*/
function as_unschedule_action($hook, $args = array(), $group = '')
{
}