pre_unschedule_event

pre_unschedule_event钩子是Wordpress钩子,过滤钩子:过滤到飞行前或劫持非计划事件。

apply_filters( ‘pre_unschedule_event’, null|bool $pre, int $timestamp, string $hook, array $args )

说明(Description)

返回非空值将使正常的非计划过程短路,导致函数返回过滤后的值。


参数(Parameters)

参数类型说明
$pre(null | bool)要返回的值。默认为空以继续取消事件的计划。
$timestamp(int)运行事件的时间戳。
$hook(string)动作挂钩,其执行将不定期。
$args(array)传递给钩子回调函数的参数。

源码(Source)

//暂无
更新版本源码位置使用被使用
5.1.0wp-includes/cron.php:36510
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索