$instance
$instance : \ActionScheduler_Versions
ActionScheduler_Versions instance.
Class ActionScheduler_Versions
$instance : \ActionScheduler_Versions
ActionScheduler_Versions instance.
$versions : array<string,callable>
Versions.
$sources : array<string,string>
Registered sources.
get_sources() : array<string,string>
Get registered sources.
Use with caution: this method is only available as of Action Scheduler's 3.9.1 release and, owing to the way Action Scheduler is loaded, it's possible that the class definition used at runtime will belong to an earlier version.
active_source() : array
Returns information about the plugin or theme which contains the current active version of Action Scheduler.
If this cannot be determined, or if Action Scheduler is being loaded via some other method, then it will return an empty array. Otherwise, if populated, the array will look like the following:
[
'type' => 'plugin', # or 'theme'
'name' => 'Name',
]
active_source_path() : string
Returns the directory path for the currently active installation of Action Scheduler.
None found |