BP_Email_Tokens::token__sender_url( BP_Email $bp_email, array $formatted_tokens, array $tokens )
Generate the output for token sender.url
Description
Parameters
- $bp_email
-
(BP_Email) (Required)
- $formatted_tokens
-
(array) (Required)
- $tokens
-
(array) (Required)
Return
(string) html for the output
Source
File: bp-core/classes/class-bp-email-tokens.php
public function token__sender_url( $bp_email, $formatted_tokens, $tokens ) { if ( empty( $this->_message_sender_id ) ) { return ''; } return bp_core_get_user_domain( $this->_message_sender_id ); }
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.