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
// Delete or trash the post. $res = $force ? wp_delete_post( $id, true ) : wp_trash_post( $id ); if ( ! $res ) { // Translators: %1$s = Post type singular name; %2$d = Post id. return new WP_Error( 'llms_builder_trash_post_type', sprintf( esc_html__( 'Error deleting the %1$s "%2$d".', 'lifterlms' ), $obj->labels->singular_name, $id ) ); } return true; } /** * Process all the update data from the heartbeat * * @since 3.16.0 * * @param array $data Array of course updates (all the way down the tree). * @return array */
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |