diff --git a/src/bp-core/bp-core-functions.php b/src/bp-core/bp-core-functions.php
index e66c78188..e659eace1 100644
|
a
|
b
|
function bp_core_replace_tokens_in_text( $text, $tokens ) { |
| 3400 | 3400 | * @return array |
| 3401 | 3401 | */ |
| 3402 | 3402 | function bp_email_get_schema() { |
| 3403 | | return array( |
| | 3403 | |
| | 3404 | /** |
| | 3405 | * Filters the list of `bp_email_get_schema()` allowing anyone to add/remove emails. |
| | 3406 | * |
| | 3407 | * @since 7.0.0 |
| | 3408 | * |
| | 3409 | * @param array $emails The array of emails schema. |
| | 3410 | */ |
| | 3411 | return (array) apply_filters( 'bp_email_get_schema', array( |
| 3404 | 3412 | 'activity-comment' => array( |
| 3405 | 3413 | /* translators: do not remove {} brackets or translate its contents. */ |
| 3406 | 3414 | 'post_title' => __( '[{{{site.name}}}] {{poster.name}} replied to one of your updates', 'buddypress' ), |
| … |
… |
function bp_email_get_schema() { |
| 3532 | 3540 | /* translators: do not remove {} brackets or translate its contents. */ |
| 3533 | 3541 | 'post_excerpt' => __( "Your membership request for the group \"{{group.name}}\" has been rejected.\n\nTo request membership again, visit: {{{group.url}}}", 'buddypress' ), |
| 3534 | 3542 | ), |
| 3535 | | ); |
| | 3543 | ) ); |
| 3536 | 3544 | } |
| 3537 | 3545 | |
| 3538 | 3546 | /** |
| … |
… |
function bp_email_get_type_schema( $field = 'description' ) { |
| 3559 | 3567 | 'unsubscribe' => array( |
| 3560 | 3568 | 'meta_key' => 'notification_activity_new_reply', |
| 3561 | 3569 | 'message' => __( 'You will no longer receive emails when someone replies to an update or comment you posted.', 'buddypress' ), |
| 3562 | | ), |
| | 3570 | ), |
| 3563 | 3571 | ); |
| 3564 | 3572 | |
| 3565 | 3573 | $activity_comment_author = array( |
| … |
… |
function bp_email_get_type_schema( $field = 'description' ) { |
| 3567 | 3575 | 'unsubscribe' => array( |
| 3568 | 3576 | 'meta_key' => 'notification_activity_new_reply', |
| 3569 | 3577 | 'message' => __( 'You will no longer receive emails when someone replies to an update or comment you posted.', 'buddypress' ), |
| 3570 | | ), |
| | 3578 | ), |
| 3571 | 3579 | ); |
| 3572 | 3580 | |
| 3573 | 3581 | $activity_at_message = array( |