Skip to main content

record_cron_event()

public static function record_cron_event( $hook )

Maintains a semipersistent record of the 3 most recent events for the specified hook.

Since: 2.7.1

Source: common.php:8212

Parameters

NameTypeDefaultDescription
$hookstringThe cron hook name.