active_source()
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',
]