Docs: In wp_schedule_single_event(), add a note about scheduling an event to occur within 10 minutes of another event with the same action hook.

Props medariox.
Fixes #37455.

git-svn-id: https://develop.svn.wordpress.org/trunk@38148 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2016-07-25 12:22:21 +00:00
parent 22b3bdc333
commit ad09174df2

View File

@ -12,6 +12,10 @@
* a time which you specify. The action will fire off when someone visits your
* WordPress site, if the schedule time has passed.
*
* Note that scheduling an event to occur within 10 minutes of an existing event
* with the same action hook will be ignored, unless you pass unique `$args` values
* for each scheduled event.
*
* @since 2.1.0
* @link https://codex.wordpress.org/Function_Reference/wp_schedule_single_event
*