LLMS_AJAX_Handler::persist_tracking_events( array $request )
AJAX handler for persisting tracking events.
Parameters Parameters
- $request
-
(array) (Required) $_POST data.
Return Return
(array|WP_Error)
Source Source
File: includes/class.llms.ajax.handler.php
$success = llms()->events()->store_tracking_events( wp_unslash( $request['llms-tracking'] ) ); if ( ! is_wp_error( $success ) ) { $success = array( 'success' => true, ); } return $success; } } new LLMS_AJAX_Handler();
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.37.14 | Introduced. |