apply_filters( 'bp_email_set_tokens', string[] $formatted_tokens , string[] $tokens , BP_Email $this )
Filters the new value of the email’s “tokens” property.
Description Description
Parameters Parameters
- $formatted_tokens
-
Associative pairing of token names (key) and replacement values (value).
- $tokens
-
Associative pairing of unformatted token names (key) and replacement values (value).
- $this
-
Current instance of the email type class.
Source Source
File: bp-core/classes/class-bp-email.php
Changelog Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |