LLMS_Admin_Builder::is_temp_id( string $id )
Determine if an ID submitted via heartbeat data is a temporary id if so the object must be created rather than updated
Description Description
Parameters Parameters
- $id
-
(string) (Required) an ID string
Return Return
(bool)
Source Source
File: includes/admin/class.llms.admin.builder.php
public static function is_temp_id( $id ) { return ( ! is_numeric( $id ) && 0 === strpos( $id, 'temp_' ) ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
3.16.0 | Introduced. |
User Contributed Notes User Contributed Notes
Permalink: