跳转至主要内容

Single Cron job

add_action('example_action', 'example', 1, 3);
$args = array ( 2, 1, 3 );
wp_schedule_single_event(time(), 'example_action', $args);

function example($a, $b, $c)
{
//doing things here
}

写回复

你的电子邮件地址不会被公开。

还没有评论