Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
EDD_SL_Plugin_Updater::convert_object_to_array( stdClass $data )
Convert some objects to arrays when injecting data into the update API
Description Description
Some data like sections, banners, and icons are expected to be an associative array, however due to the JSON decoding, they are objects. This method allows us to pass in the object and return an associative array.
Parameters Parameters
- $data
-
(Required)
Return Return
(array)
Source Source
File: includes/EDD_SL_Plugin_Updater.php
Changelog Changelog
Version | Description |
---|---|
3.6.5 | Introduced. |