apply_filters( 'jb_locate_template', $template, $template_name, $module, $template_path ) → {string}
Filters the founded template location.
Note: Ignore all locate rules for the selected $template_name.
Parameters:
Name | Type | Description |
---|---|---|
$template |
string | Template full path. |
$template_name |
string | Template name. |
$module |
string | Module slug. (default: ''). |
$template_path |
string | Template path. (default: ''). |
- Since:
- 1.2.2 Added $module argument.
- Source:
Returns:
Template full path.
- Type
- string