Checks whether a specific ID is a temporary ID.
Description
See also
Parameters
- $id
-
(int) (Required) Component ID.
Return
(bool) True if temporary ID, false otherwise.
Source
File: src/db-objects/forms/form-edit-page-handler.php
private function is_temp_id( $id ) { return is_string( $id ) && 'temp_id_' === substr( $id, 0, 8 ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |