Action: jb_change_template_part

do_action( 'jb_change_template_part', $template_name, $args, $module, $template_path, $default_path )

Fires just before the algorithm for getting JobBoardWP custom templates.

Note: Allow 3rd party plugins or modules filter template file, arguments, module name from their side.

Parameters:
Name Type Description
$template_name string

Template name passed by reference.

$args array

Arguments passed for the template by reference.

$module string

Module slug passed by reference. (default: '').

$template_path string

Template path passed by reference. (default: '').

$default_path string

Default path passed by reference. (default: '').

Since:
  • 1.2.2
Source: