Changes between Initial Version and Version 1 of Ticket #27087
- Timestamp:
- 02/10/2014 08:00:35 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27087
-
Property
Status
changed from
new
toclosed
-
Property
Resolution
changed from
to
invalid
-
Property
Milestone
changed from
Awaiting Review
to
-
Property
Status
changed from
-
Ticket #27087 – Description
initial v1 1 wp_schedule_event will not accept array() for the hook (must be string). As such, wp_schedule_event( time(), 'daily', array($this,'hook') ); will not work, however, moving the hook method outside of the class will work as the $hookis no longer an array.1 `wp_schedule_event` will not accept array() for the hook (must be string). As such, `wp_schedule_event( time(), 'daily', array($this,'hook') );` will not work, however, moving the hook method outside of the class will work as the `$hook` is no longer an array.