$templates


Methods

$templates->find("selector")

Introduced in Version 2.0

Description

Return the templates matching the given selector query.

The following example will find templates that are either named skyscraper or home. The query returns a TemplatesArray.

$tpls = $templates->find("name=skyscraper|home");

Related

Post Comment