-
Home
-
Translate Multilingual sites – TranslatePress
-
2.3.7
-
Code
-
Classes
- TRP_Woocommerce_Emails
| Total Complexity |
25 |
| Dependencies |
1 |
| Dependents |
1 |
| Total lines |
232 |
| Lines of code |
123 |
| Logical lines of code |
86 |
| Comment lines |
76 |
| Methods |
12 |
| Properties |
0 |
Methods 12
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| trp_woo_setup_locale() |
S |
47 |
6 |
38 |
| initialize_hooks() |
S |
50 |
3 |
27 |
| save_current_language() |
S |
66 |
3 |
8 |
| validate_language() |
S |
64 |
3 |
9 |
| save_language_on_checkout() |
S |
61 |
2 |
13 |
| prepare_order_id_for_resend_emails() |
S |
76 |
2 |
4 |
| __construct() |
S |
98 |
1 |
1 |
| store_email_order_id() |
S |
77 |
1 |
4 |
| prepare_order_id_for_note_emails() |
S |
80 |
1 |
3 |
| trp_get_locale() |
S |
78 |
1 |
4 |
| trp_reset_language() |
S |
74 |
1 |
5 |
| trp_woo_restore_locale() |
S |
68 |
1 |
7 |