Duke Yin's Technology database

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
}

引用关闭,但你能发布评论.

评论