apply_filters( 'jb_template_structure_custom_path', $custom_path, $template_name, $module ) → {bool|string}
Filters the custom path variable. There is possible to set your custom templates path.
Note: You could use this hook for getting JobBoardWP templates stored in your own custom path (e.g. uploads/ folder). This can be used to avoid the possibility of dumping templates if you are using a theme that is constantly updated and it is not possible to create a child-theme.
Parameters:
Name | Type | Description |
---|---|---|
$custom_path |
bool | Custom path to JobBoardWP templates. It's |
$template_name |
string | Template name. |
$module |
string | Module slug. (default: ''). |
- Since:
- 1.2.2 Added $module argument.
- Source:
Returns:
Maybe custom path to JobBoardWP templates. Otherwise false.
- Type
- bool | string