$templates


Template Properties

$template->id

Introduced in Version 2.0

Description

Get or set the template's numbered database ID.

Output the ID of the specified template.

$t = $templates->get("skyscraper");
echo $t->id;

Alternatively, you can also do this.

echo $templates->get("skyscraper")->id;

Related

Post Comment