get_templates_by_prefix()
get_templates_by_prefix(string $mod, string $prefix, bool $trim) : string[]
Get all of the templates for a specific (or the current moduel) that begin with a specified prefix.
Parameters
string | $mod | The module name. If none specified, the current module is assumed. |
string | $prefix | A prefix to filter templates by. |
bool | $trim | Wether the prefix should be trimmed from the output array. |