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.
LLMS_Admin_Builder::process_updates( array $data )
Process all the update data from the heartbeat
Parameters Parameters
- $data
-
(array) (Required) Array of course updates (all the way down the tree).
Return Return
(array)
Source Source
File: includes/admin/class.llms.admin.builder.php
private static function process_updates( $data ) { $ret = array(); if ( ! empty( $data['updates']['sections'] ) && is_array( $data['updates']['sections'] ) ) { foreach ( $data['updates']['sections'] as $section_data ) { if ( ! isset( $section_data['id'] ) ) { continue; } $ret[] = self::update_section( $section_data, $data['id'] ); } } return $ret; }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |