| 1 |
<?php |
| 2 |
|
| 3 |
function acym_getEmailOverrides() |
| 4 |
{ |
| 5 |
$emailOverrides = [ |
| 6 |
[ |
| 7 |
'name' => 'wp-adminNewUserAdmin', |
| 8 |
'base_subject' => [ |
| 9 |
'[%s] New User Registration', |
| 10 |
], |
| 11 |
'base_body' => [ |
| 12 |
'New user registration on your site %s:', |
| 13 |
"\r\n\r\n", |
| 14 |
'Username: %s', |
| 15 |
"\r\n\r\n", |
| 16 |
'Email: %s', |
| 17 |
"\r\n", |
| 18 |
], |
| 19 |
'new_subject' => '[{param1}] New User Registration', |
| 20 |
'new_body' => 'New user registration on your site {param2}: |
| 21 |
<br> |
| 22 |
<br> |
| 23 |
Username: {param3} |
| 24 |
<br> |
| 25 |
<br>Email: {param4}', |
| 26 |
'description' => 'ACYM_OVERRIDE_DESC_REG_ADMIN_NOTIFICATION', |
| 27 |
'source' => 'wordpress', |
| 28 |
], |
| 29 |
[ |
| 30 |
'name' => 'wp-newUser', |
| 31 |
'base_subject' => [ |
| 32 |
'[%s] Login Details', |
| 33 |
], |
| 34 |
'base_body' => [ |
| 35 |
'Username: %s', |
| 36 |
"\r\n\r\n", |
| 37 |
'To set your password, visit the following address:', |
| 38 |
"\r\n\r\n", |
| 39 |
'%s', |
| 40 |
], |
| 41 |
'new_subject' => '[{param1}] Login Details', |
| 42 |
'new_body' => 'Username: {param2} |
| 43 |
<br> |
| 44 |
<br>To set your password, visit the following address: |
| 45 |
<br> |
| 46 |
<br>{param3}', |
| 47 |
'description' => 'ACYM_OVERRIDE_DESC_ADMIN_CREATED', |
| 48 |
'source' => 'wordpress', |
| 49 |
], |
| 50 |
[ |
| 51 |
'name' => 'wp-passwordChangeNotif', |
| 52 |
'base_subject' => [ |
| 53 |
'[%s] Password Changed', |
| 54 |
], |
| 55 |
'base_body' => [ |
| 56 |
'Hi ###USERNAME###, |
| 57 |
|
| 58 |
This notice confirms that your password was changed on ###SITENAME###. |
| 59 |
|
| 60 |
If you did not change your password, please contact the Site Administrator at |
| 61 |
###ADMIN_EMAIL### |
| 62 |
|
| 63 |
This email has been sent to ###EMAIL### |
| 64 |
|
| 65 |
Regards, |
| 66 |
All at ###SITENAME### |
| 67 |
###SITEURL###', |
| 68 |
], |
| 69 |
'new_subject' => '[{param1}] Password Changed', |
| 70 |
'new_body' => 'Hi {param2}, |
| 71 |
<br> |
| 72 |
<br> |
| 73 |
This notice confirms that your password was changed on {param3}. |
| 74 |
<br> |
| 75 |
<br> |
| 76 |
If you did not change your password, please contact the Site Administrator at |
| 77 |
{param4} |
| 78 |
<br> |
| 79 |
<br> |
| 80 |
This email has been sent to {param5} |
| 81 |
<br> |
| 82 |
<br> |
| 83 |
Regards, |
| 84 |
All at {param6} |
| 85 |
{param7}', |
| 86 |
'description' => 'ACYM_OVERRIDE_DESC_CONFIRMATION_CHANGE_PASSWORD', |
| 87 |
'source' => 'wordpress', |
| 88 |
], |
| 89 |
[ |
| 90 |
'name' => 'wp-emailChangeNotif', |
| 91 |
'base_subject' => [ |
| 92 |
'[%s] Email Changed', |
| 93 |
], |
| 94 |
'base_body' => [ |
| 95 |
'Hi ###USERNAME###, |
| 96 |
|
| 97 |
This notice confirms that your email address on ###SITENAME### was changed to ###NEW_EMAIL###. |
| 98 |
|
| 99 |
If you did not change your email, please contact the Site Administrator at |
| 100 |
###ADMIN_EMAIL### |
| 101 |
|
| 102 |
This email has been sent to ###EMAIL### |
| 103 |
|
| 104 |
Regards, |
| 105 |
All at ###SITENAME### |
| 106 |
###SITEURL###', |
| 107 |
], |
| 108 |
'new_subject' => '[{param1}] Email Changed', |
| 109 |
'new_body' => 'Hi {param2}, |
| 110 |
<br> |
| 111 |
<br> |
| 112 |
This notice confirms that your email address on {param3} was changed to {param4}. |
| 113 |
<br> |
| 114 |
<br> |
| 115 |
If you did not change your email, please contact the Site Administrator at |
| 116 |
{param5} |
| 117 |
<br> |
| 118 |
<br> |
| 119 |
This email has been sent to {param6} |
| 120 |
<br> |
| 121 |
<br> |
| 122 |
Regards, |
| 123 |
All at {param7} |
| 124 |
{param8}', |
| 125 |
'description' => 'ACYM_OVERRIDE_DESC_CONFIRMATION_CHANGE_EMAIL', |
| 126 |
'source' => 'wordpress', |
| 127 |
], |
| 128 |
[ |
| 129 |
'name' => 'wp-passwordUserChangeNotifAdmin', |
| 130 |
'base_subject' => [ |
| 131 |
'[%s] Password Changed', |
| 132 |
], |
| 133 |
'base_body' => [ |
| 134 |
'Password changed for user: %s', |
| 135 |
"\r\n", |
| 136 |
], |
| 137 |
'new_subject' => '[{param1}] Password Changed', |
| 138 |
'new_body' => 'Password changed for user: {param2}', |
| 139 |
'description' => 'ACYM_OVERRIDE_DESC_ADMIN_NOTIFICATION_CHANGE_PASSWORD', |
| 140 |
'source' => 'wordpress', |
| 141 |
], |
| 142 |
[ |
| 143 |
'name' => 'wp-adminNotifUserRequestConfirm', |
| 144 |
'base_subject' => [ |
| 145 |
'[%1$s] Action.php Confirmed: %2$s', |
| 146 |
], |
| 147 |
'base_body' => [ |
| 148 |
'Howdy, |
| 149 |
|
| 150 |
A user data privacy request has been confirmed on ###SITENAME###: |
| 151 |
|
| 152 |
User: ###USER_EMAIL### |
| 153 |
Request: ###DESCRIPTION### |
| 154 |
|
| 155 |
You can view and manage these data privacy requests here: |
| 156 |
|
| 157 |
###MANAGE_URL### |
| 158 |
|
| 159 |
Regards, |
| 160 |
All at ###SITENAME### |
| 161 |
###SITEURL###', |
| 162 |
], |
| 163 |
'new_subject' => '[{param1}] Action.php Confirmed: {param2}', |
| 164 |
'new_body' => 'Howdy, |
| 165 |
<br> |
| 166 |
<br> |
| 167 |
A user data privacy request has been confirmed on {param3}: |
| 168 |
<br> |
| 169 |
<br> |
| 170 |
User: {param4} |
| 171 |
Request: {param5} |
| 172 |
<br> |
| 173 |
<br> |
| 174 |
You can view and manage these data privacy requests here: |
| 175 |
<br> |
| 176 |
<br> |
| 177 |
{param6} |
| 178 |
<br> |
| 179 |
<br> |
| 180 |
Regards, |
| 181 |
All at {param7} |
| 182 |
{param8}', |
| 183 |
'description' => 'ACYM_OVERRIDE_DESC_ADMIN_NOTIFICATION_DATA_REQUEST', |
| 184 |
'source' => 'wordpress', |
| 185 |
], |
| 186 |
[ |
| 187 |
'name' => 'wp-userErasureRequestConfirm1', |
| 188 |
'base_subject' => [ |
| 189 |
'[%s] Erasure Request Fulfilled', |
| 190 |
], |
| 191 |
'base_body' => [ |
| 192 |
'Howdy, |
| 193 |
|
| 194 |
Your request to erase your personal data on ###SITENAME### has been completed. |
| 195 |
|
| 196 |
If you have any follow-up questions or concerns, please contact the site administrator. |
| 197 |
|
| 198 |
Regards, |
| 199 |
All at ###SITENAME### |
| 200 |
###SITEURL###', |
| 201 |
], |
| 202 |
'new_subject' => '[{param1}] Erasure Request Fulfilled', |
| 203 |
'new_body' => 'Howdy, |
| 204 |
<br> |
| 205 |
<br> |
| 206 |
Your request to erase your personal data on {param2} has been completed. |
| 207 |
<br> |
| 208 |
<br> |
| 209 |
If you have any follow-up questions or concerns, please contact the site administrator. |
| 210 |
<br> |
| 211 |
<br> |
| 212 |
Regards, |
| 213 |
All at {param3} |
| 214 |
{param4}', |
| 215 |
'description' => 'ACYM_OVERRIDE_DESC_DATA_REMOVAL_CONFIRMATION', |
| 216 |
'source' => 'wordpress', |
| 217 |
], |
| 218 |
[ |
| 219 |
'name' => 'wp-UserErasureRequestConfirm2', |
| 220 |
'base_subject' => [ |
| 221 |
'[%s] Erasure Request Fulfilled', |
| 222 |
], |
| 223 |
'base_body' => [ |
| 224 |
'Howdy, |
| 225 |
|
| 226 |
Your request to erase your personal data on ###SITENAME### has been completed. |
| 227 |
|
| 228 |
If you have any follow-up questions or concerns, please contact the site administrator. |
| 229 |
|
| 230 |
For more information, you can also read our privacy policy: ###PRIVACY_POLICY_URL### |
| 231 |
|
| 232 |
Regards, |
| 233 |
All at ###SITENAME### |
| 234 |
###SITEURL###', |
| 235 |
], |
| 236 |
'new_subject' => '[{param1}] Erasure Request Fulfilled', |
| 237 |
'new_body' => 'Howdy, |
| 238 |
<br> |
| 239 |
<br> |
| 240 |
Your request to erase your personal data on {param2} has been completed. |
| 241 |
<br> |
| 242 |
<br> |
| 243 |
If you have any follow-up questions or concerns, please contact the site administrator. |
| 244 |
<br> |
| 245 |
<br> |
| 246 |
For more information, you can also read our privacy policy: {param3} |
| 247 |
<br> |
| 248 |
<br> |
| 249 |
Regards, |
| 250 |
All at {param4} |
| 251 |
{param5}', |
| 252 |
'description' => 'ACYM_OVERRIDE_DESC_DATA_REMOVAL_CONFIRMATION_PRIVACY', |
| 253 |
'source' => 'wordpress', |
| 254 |
], |
| 255 |
[ |
| 256 |
'name' => 'wp-userPasswordRetrieveRequest', |
| 257 |
'base_subject' => [ |
| 258 |
'[%s] Password Reset', |
| 259 |
], |
| 260 |
'base_body' => [ |
| 261 |
'Someone has requested a password reset for the following account:', |
| 262 |
"\r\n\r\n", |
| 263 |
'Site Name: %s', |
| 264 |
"\r\n\r\n", |
| 265 |
'Username: %s', |
| 266 |
"\r\n\r\n", |
| 267 |
'If this was a mistake, ignore this email and nothing will happen.', |
| 268 |
"\r\n\r\n", |
| 269 |
'To reset your password, visit the following address:', |
| 270 |
"\r\n\r\n", |
| 271 |
'%s', |
| 272 |
"\r\n\r\n", |
| 273 |
'This password reset request originated from the IP address %s.', |
| 274 |
"\r\n\r\n", |
| 275 |
|
| 276 |
], |
| 277 |
'new_subject' => '[{param1}] Password Reset', |
| 278 |
'new_body' => 'Someone has requested a password reset for the following account: |
| 279 |
<br> |
| 280 |
<br>Site Name: {param2} |
| 281 |
<br> |
| 282 |
<br>Username: {param3} |
| 283 |
<br> |
| 284 |
<br>If this was a mistake, ignore this email and nothing will happen. |
| 285 |
<br> |
| 286 |
<br>To reset your password, visit the following address: |
| 287 |
<br> |
| 288 |
<br>{param4} |
| 289 |
<br> |
| 290 |
<br>This password reset request originated from the IP address {param5}.', |
| 291 |
|
| 292 |
'description' => 'ACYM_OVERRIDE_DESC_RESET_PASSWORD', |
| 293 |
'source' => 'wordpress', |
| 294 |
], |
| 295 |
[ |
| 296 |
'name' => 'wp-userResetEmailRequest', |
| 297 |
'base_subject' => [ |
| 298 |
'[%s] Email Change Request', |
| 299 |
], |
| 300 |
'base_body' => [ |
| 301 |
'Howdy ###USERNAME###, |
| 302 |
|
| 303 |
You recently requested to have the email address on your account changed. |
| 304 |
|
| 305 |
If this is correct, please click on the following link to change it: |
| 306 |
###ADMIN_URL### |
| 307 |
|
| 308 |
You can safely ignore and delete this email if you do not want to |
| 309 |
take this action. |
| 310 |
|
| 311 |
This email has been sent to ###EMAIL### |
| 312 |
|
| 313 |
Regards, |
| 314 |
All at ###SITENAME### |
| 315 |
###SITEURL###', |
| 316 |
], |
| 317 |
'new_subject' => '[{param1}] Email Change Request', |
| 318 |
'new_body' => 'Howdy {param2}, |
| 319 |
<br> |
| 320 |
<br> |
| 321 |
You recently requested to have the email address on your account changed. |
| 322 |
<br> |
| 323 |
<br> |
| 324 |
If this is correct, please click on the following link to change it: |
| 325 |
{param3} |
| 326 |
<br> |
| 327 |
<br> |
| 328 |
You can safely ignore and delete this email if you do not want to |
| 329 |
take this action. |
| 330 |
<br> |
| 331 |
<br> |
| 332 |
This email has been sent to {param4} |
| 333 |
<br> |
| 334 |
<br> |
| 335 |
Regards, |
| 336 |
All at {param5} |
| 337 |
{param6}', |
| 338 |
'description' => 'ACYM_OVERRIDE_DESC_CHANGE_EMAIL', |
| 339 |
'source' => 'wordpress', |
| 340 |
], |
| 341 |
[ |
| 342 |
'name' => 'wp-userRequestConfirmAction', |
| 343 |
'base_subject' => [ |
| 344 |
'[%1$s] Confirm Action.php: %2$s', |
| 345 |
], |
| 346 |
'base_body' => [ |
| 347 |
'Howdy, |
| 348 |
|
| 349 |
A request has been made to perform the following action on your account: |
| 350 |
|
| 351 |
###DESCRIPTION### |
| 352 |
|
| 353 |
To confirm this, please click on the following link: |
| 354 |
###CONFIRM_URL### |
| 355 |
|
| 356 |
You can safely ignore and delete this email if you do not want to |
| 357 |
take this action. |
| 358 |
|
| 359 |
Regards, |
| 360 |
All at ###SITENAME### |
| 361 |
###SITEURL###', |
| 362 |
], |
| 363 |
'new_subject' => '[{param1}] Confirm Action.php: {param2}', |
| 364 |
'new_body' => 'Howdy, |
| 365 |
<br> |
| 366 |
<br> |
| 367 |
A request has been made to perform the following action on your account: |
| 368 |
<br> |
| 369 |
<br> |
| 370 |
{param3} |
| 371 |
<br> |
| 372 |
<br> |
| 373 |
To confirm this, please click on the following link: |
| 374 |
{param4} |
| 375 |
<br> |
| 376 |
<br> |
| 377 |
You can safely ignore and delete this email if you do not want to |
| 378 |
take this action. |
| 379 |
<br> |
| 380 |
<br> |
| 381 |
Regards, |
| 382 |
All at {param5} |
| 383 |
{param6}', |
| 384 |
'description' => 'ACYM_OVERRIDE_DESC_ACTION_CONFIRMATION', |
| 385 |
'source' => 'wordpress', |
| 386 |
], |
| 387 |
[ |
| 388 |
'name' => 'wp-personalDataExport', |
| 389 |
'base_subject' => [ |
| 390 |
'[%s] Personal Data Export', |
| 391 |
], |
| 392 |
'base_body' => [ |
| 393 |
'Howdy, |
| 394 |
|
| 395 |
Your request for an export of personal data has been completed. You may |
| 396 |
download your personal data by clicking on the link below. For privacy |
| 397 |
and security, we will automatically delete the file on ###EXPIRATION###, |
| 398 |
so please download it before then. |
| 399 |
|
| 400 |
###LINK### |
| 401 |
|
| 402 |
Regards, |
| 403 |
All at ###SITENAME### |
| 404 |
###SITEURL###', |
| 405 |
], |
| 406 |
'new_subject' => '[{param1}] Personal Data Export', |
| 407 |
'new_body' => 'Howdy, |
| 408 |
<br> |
| 409 |
<br> |
| 410 |
Your request for an export of personal data has been completed. You may |
| 411 |
download your personal data by clicking on the link below. For privacy |
| 412 |
and security, we will automatically delete the file on {param2}, |
| 413 |
so please download it before then. |
| 414 |
<br> |
| 415 |
<br> |
| 416 |
{param3} |
| 417 |
<br> |
| 418 |
<br> |
| 419 |
Regards, |
| 420 |
All at {param4} |
| 421 |
{param5}', |
| 422 |
'description' => 'ACYM_OVERRIDE_DESC_DATA_EXPORT', |
| 423 |
'source' => 'wordpress', |
| 424 |
], |
| 425 |
]; |
| 426 |
|
| 427 |
acym_trigger('onAcymGetEmailOverrides', [&$emailOverrides]); |
| 428 |
|
| 429 |
return $emailOverrides; |
| 430 |
} |
| 431 |
|
| 432 |
function acym_getOverrideParamsByName($name) |
| 433 |
{ |
| 434 |
$overridesParamsAll = [ |
| 435 |
'wp-adminNewUserAdmin' => [ |
| 436 |
'param1' => [ |
| 437 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 438 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 439 |
], |
| 440 |
'param3' => [ |
| 441 |
'nicename' => acym_translation('ACYM_USERNAME'), |
| 442 |
'description' => acym_translation('ACYM_USERNAME_OVERRIDE_DESC'), |
| 443 |
], |
| 444 |
'param4' => [ |
| 445 |
'nicename' => acym_translation('ACYM_EMAIL'), |
| 446 |
'description' => acym_translation('ACYM_EMAIL_OVERRIDE_DESC'), |
| 447 |
], |
| 448 |
], |
| 449 |
'wp-newUser' => [ |
| 450 |
'param1' => [ |
| 451 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 452 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 453 |
], |
| 454 |
'param2' => [ |
| 455 |
'nicename' => acym_translation('ACYM_USERNAME'), |
| 456 |
'description' => acym_translation('ACYM_USERNAME_OVERRIDE_DESC'), |
| 457 |
], |
| 458 |
'param3' => [ |
| 459 |
'nicename' => acym_translation('ACYM_LOGIN_URL'), |
| 460 |
'description' => acym_translation('ACYM_LOGIN_URL_OVERRIDE_DESC'), |
| 461 |
], |
| 462 |
], |
| 463 |
'wp-passwordChangeNotif' => [ |
| 464 |
'param1' => [ |
| 465 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 466 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 467 |
], |
| 468 |
'param2' => [ |
| 469 |
'nicename' => acym_translation('ACYM_USERNAME'), |
| 470 |
'description' => acym_translation('ACYM_USERNAME_OVERRIDE_DESC'), |
| 471 |
], |
| 472 |
'param4' => [ |
| 473 |
'nicename' => acym_translation('ACYM_ADMIN_EMAIL'), |
| 474 |
'description' => acym_translation('ACYM_ADMIN_EMAIL_OVERRIDE_DESC'), |
| 475 |
], |
| 476 |
'param5' => [ |
| 477 |
'nicename' => acym_translation('ACYM_USER_EMAIL'), |
| 478 |
'description' => acym_translation('ACYM_USER_EMAIL_OVERRIDE_DESC'), |
| 479 |
], |
| 480 |
'param7' => [ |
| 481 |
'nicename' => acym_translation('ACYM_SITE_URL'), |
| 482 |
'description' => acym_translation('ACYM_SITE_URL_OVERRIDE_DESC'), |
| 483 |
], |
| 484 |
], |
| 485 |
'wp-emailChangeNotif' => [ |
| 486 |
'param1' => [ |
| 487 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 488 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 489 |
], |
| 490 |
'param2' => [ |
| 491 |
'nicename' => acym_translation('ACYM_USERNAME'), |
| 492 |
'description' => acym_translation('ACYM_USERNAME_OVERRIDE_DESC'), |
| 493 |
], |
| 494 |
'param4' => [ |
| 495 |
'nicename' => acym_translation('ACYM_USER_NEW_EMAIL'), |
| 496 |
'description' => acym_translation('ACYM_USER_NEW_EMAIL_OVERRIDE_DESC'), |
| 497 |
], |
| 498 |
'param5' => [ |
| 499 |
'nicename' => acym_translation('ACYM_ADMIN_EMAIL'), |
| 500 |
'description' => acym_translation('ACYM_ADMIN_EMAIL_OVERRIDE_DESC'), |
| 501 |
], |
| 502 |
'param6' => [ |
| 503 |
'nicename' => acym_translation('ACYM_USER_EMAIL'), |
| 504 |
'description' => acym_translation('ACYM_USER_EMAIL_OVERRIDE_DESC'), |
| 505 |
], |
| 506 |
'param7' => [ |
| 507 |
'nicename' => acym_translation('ACYM_SITE_URL'), |
| 508 |
'description' => acym_translation('ACYM_SITE_URL_OVERRIDE_DESC'), |
| 509 |
], |
| 510 |
], |
| 511 |
'wp-passwordUserChangeNotifAdmin' => [ |
| 512 |
'param1' => [ |
| 513 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 514 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 515 |
], |
| 516 |
'param2' => [ |
| 517 |
'nicename' => acym_translation('ACYM_USERNAME'), |
| 518 |
'description' => acym_translation('ACYM_USERNAME_OVERRIDE_DESC'), |
| 519 |
], |
| 520 |
], |
| 521 |
'wp-adminNotifUserRequestConfirm' => [ |
| 522 |
'param1' => [ |
| 523 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 524 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 525 |
], |
| 526 |
'param2' => [ |
| 527 |
'nicename' => acym_translation('ACYM_ACTION'), |
| 528 |
'description' => acym_translation('ACYM_ACTION_OVERRIDE_DESC'), |
| 529 |
], |
| 530 |
'param4' => [ |
| 531 |
'nicename' => acym_translation('ACYM_USER_EMAIL'), |
| 532 |
'description' => acym_translation('ACYM_USER_EMAIL_OVERRIDE_DESC'), |
| 533 |
], |
| 534 |
'param6' => [ |
| 535 |
'nicename' => acym_translation('ACYM_MANAGE_URL'), |
| 536 |
'description' => acym_translation('ACYM_MANAGE_URL_OVERRIDE_DESC'), |
| 537 |
], |
| 538 |
'param8' => [ |
| 539 |
'nicename' => acym_translation('ACYM_SITE_URL'), |
| 540 |
'description' => acym_translation('ACYM_SITE_URL_OVERRIDE_DESC'), |
| 541 |
], |
| 542 |
], |
| 543 |
'wp-userErasureRequestConfirm1' => [ |
| 544 |
'param1' => [ |
| 545 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 546 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 547 |
], |
| 548 |
'param4' => [ |
| 549 |
'nicename' => acym_translation('ACYM_SITE_URL'), |
| 550 |
'description' => acym_translation('ACYM_SITE_URL_OVERRIDE_DESC'), |
| 551 |
], |
| 552 |
], |
| 553 |
'wp-UserErasureRequestConfirm2' => [ |
| 554 |
'param1' => [ |
| 555 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 556 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 557 |
], |
| 558 |
'param3' => [ |
| 559 |
'nicename' => acym_translation('ACYM_PRIVACY_POLICY_URL'), |
| 560 |
'description' => acym_translation('ACYM_PRIVACY_POLICY_URL_OVERRIDE_DESC'), |
| 561 |
], |
| 562 |
'param5' => [ |
| 563 |
'nicename' => acym_translation('ACYM_SITE_URL'), |
| 564 |
'description' => acym_translation('ACYM_SITE_URL_OVERRIDE_DESC'), |
| 565 |
], |
| 566 |
], |
| 567 |
'wp-userPasswordRetrieveRequest' => [ |
| 568 |
'param1' => [ |
| 569 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 570 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 571 |
], |
| 572 |
'param3' => [ |
| 573 |
'nicename' => acym_translation('ACYM_USERNAME'), |
| 574 |
'description' => acym_translation('ACYM_USERNAME_OVERRIDE_DESC'), |
| 575 |
], |
| 576 |
'param4' => [ |
| 577 |
'nicename' => acym_translation('ACYM_LINK_RESET_PASSWORD'), |
| 578 |
'description' => acym_translation('ACYM_LINK_RESET_PASSWORD_OVERRIDE_DESC'), |
| 579 |
], |
| 580 |
'param5' => [ |
| 581 |
'nicename' => acym_translation('ACYM_IP_ADDRESS'), |
| 582 |
'description' => acym_translation('ACYM_IP_ADDRESS_OVERRIDE_DESC'), |
| 583 |
], |
| 584 |
], |
| 585 |
'wp-userResetEmailRequest' => [ |
| 586 |
'param1' => [ |
| 587 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 588 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 589 |
], |
| 590 |
'param2' => [ |
| 591 |
'nicename' => acym_translation('ACYM_USERNAME'), |
| 592 |
'description' => acym_translation('ACYM_USERNAME_OVERRIDE_DESC'), |
| 593 |
], |
| 594 |
'param3' => [ |
| 595 |
'nicename' => acym_translation('ACYM_ADMIN_URL'), |
| 596 |
'description' => acym_translation('ACYM_ADMIN_URL_OVERRIDE_DESC'), |
| 597 |
], |
| 598 |
'param4' => [ |
| 599 |
'nicename' => acym_translation('ACYM_USER_EMAIL'), |
| 600 |
'description' => acym_translation('ACYM_USER_EMAIL_OVERRIDE_DESC'), |
| 601 |
], |
| 602 |
'param6' => [ |
| 603 |
'nicename' => acym_translation('ACYM_SITE_URL'), |
| 604 |
'description' => acym_translation('ACYM_SITE_URL_OVERRIDE_DESC'), |
| 605 |
], |
| 606 |
], |
| 607 |
'wp-userRequestConfirmAction' => [ |
| 608 |
'param1' => [ |
| 609 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 610 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 611 |
], |
| 612 |
'param2' => [ |
| 613 |
'nicename' => acym_translation('ACYM_ACTION'), |
| 614 |
'description' => acym_translation('ACYM_ACTION_OVERRIDE_DESC'), |
| 615 |
], |
| 616 |
'param4' => [ |
| 617 |
'nicename' => acym_translation('ACYM_ACTION_CONFIRM_URL'), |
| 618 |
'description' => acym_translation('ACYM_ACTION_CONFIRM_URL_OVERRIDE_DESC'), |
| 619 |
], |
| 620 |
'param6' => [ |
| 621 |
'nicename' => acym_translation('ACYM_SITE_URL'), |
| 622 |
'description' => acym_translation('ACYM_SITE_URL_OVERRIDE_DESC'), |
| 623 |
], |
| 624 |
], |
| 625 |
'wp-personalDataExport' => [ |
| 626 |
'param1' => [ |
| 627 |
'nicename' => acym_translation('ACYM_SITE_NAME'), |
| 628 |
'description' => acym_translation('ACYM_SITE_NAME_OVERRIDE_DESC'), |
| 629 |
], |
| 630 |
'param2' => [ |
| 631 |
'nicename' => acym_translation('ACYM_EXPIRATION_DATE'), |
| 632 |
'description' => acym_translation('ACYM_EXPIRATION_DATE_OVERRIDE_DESC'), |
| 633 |
], |
| 634 |
'param3' => [ |
| 635 |
'nicename' => acym_translation('ACYM_LINK_EXPORT_FILE'), |
| 636 |
'description' => acym_translation('ACYM_LINK_EXPORT_FILE_OVERRIDE_DESC'), |
| 637 |
], |
| 638 |
'param5' => [ |
| 639 |
'nicename' => acym_translation('ACYM_SITE_URL'), |
| 640 |
'description' => acym_translation('ACYM_SITE_URL_OVERRIDE_DESC'), |
| 641 |
], |
| 642 |
], |
| 643 |
]; |
| 644 |
|
| 645 |
acym_trigger('onAcymGetEmailOverridesParams', [&$overridesParamsAll]); |
| 646 |
|
| 647 |
if (empty($overridesParamsAll[$name])) return []; |
| 648 |
|
| 649 |
return $overridesParamsAll[$name]; |
| 650 |
} |
| 651 |
|