ActionScheduler_SystemInformation
Located in classes/ActionScheduler_SystemInformation.php.
Provides information about the currently active Action Scheduler source and registered sources.
Public Methods
active_source()
Return details about the plugin or theme that contains the active Action Scheduler version.
- Returns:
array
Shape:
[
'type' => 'plugin' | 'theme',
'name' => 'Source Name',
]
Returns an empty array when the source cannot be determined.
active_source_path()
Return the directory path for the active Action Scheduler source.
- Returns:
string
get_sources()
Return registered sources (file path => version string).
- Returns:
array<string, string>
Notes:
- May return an empty array if older versions (≤ 3.9.0) are loaded first and do not track sources.