LLMS_Admin_Builder::is_temp_id( string $id )
Determine if an ID submitted via heartbeat data is a temporary id.
Description Description
If so the object must be created rather than updated
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.17.0 | |
3.16.0 | Introduced. |