ActionScheduler_wpPostStore::claim_actions( string $claim_id, int $limit, DateTime $before_date = null, array $hooks = array(), string $group = '' )


Description Description


Parameters Parameters

$claim_id

(Required)

$limit

(Required)

$before_date

(Optional) Should use UTC timezone.

Default value: null

$hooks

(Optional) Claim only actions with a hook or hooks.

Default value: array()

$group

(Optional) Claim only actions in the given group.

Default value: ''


Top ↑

Return Return

(int) The number of actions that were claimed


Top ↑

Source Source

File: packages/action-scheduler/classes/data-stores/ActionScheduler_wpPostStore.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.