Filter: jb_template_locations_base_user_id_for_locale

apply_filters( 'jb_template_locations_base_user_id_for_locale', $user_id, $template_name ) → {int}

Filters the user ID for getting it locale when getting individual multilingual template's location in the common integration function.

Note: Internal JobBoardWP hook for getting individual multilingual location related to email templates in the common integration function.

Parameters:
Name Type Description
$user_id int

Current User ID.

$template_name string

Template name.

Since:
  • 1.2.0
Source:
Returns:

User ID for getting current recipient locale.

Type
int