ActionScheduler_Versions::active_source
Deprecated since 3.9.2. It is no longer supported and may be removed in future releases. Use ActionScheduler_SystemInformation::active_source() instead.
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', ]
Method of the class: ActionScheduler_Versions{}
No Hooks.
Returns
Array.
Usage
$ActionScheduler_Versions = new ActionScheduler_Versions(); $ActionScheduler_Versions->active_source(): array;
Changelog
| Deprecated since 3.9.2 | Use ActionScheduler_SystemInformation::active_source(). |
ActionScheduler_Versions::active_source() ActionScheduler Versions::active source code WC 10.4.3
public function active_source(): array {
_deprecated_function( __METHOD__, '3.9.2', 'ActionScheduler_SystemInformation::active_source()' );
return ActionScheduler_SystemInformation::active_source();
}