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


Top ↑

Parameters Parameters

$id

(string) (Required) An ID string.


Top ↑

Return Return

(bool)


Top ↑

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_' ) );

	}


Top ↑

Changelog Changelog

Changelog
Version Description
3.17.0
3.16.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.