Свойство | Тип | Описание | |
---|---|---|---|
$author | string | Author name | |
$html | string | HTML content | |
$options | array | Handler options | |
$reply_address_handler | callable | Reply-To email address handler | |
$subject | string | Subject line | |
$text | string | Text content |
Метод | Описание | |
---|---|---|
get_author ( ) : string | Get the author name | |
get_html ( ) : string | Get the HTML content of the email | |
get_options ( ) : array | Get the options for this message | |
get_reply_address ( WP_User $user ) : string | null | Get the reply address | |
get_subject ( ) : string | Get the subject line | |
get_text ( ) : string | Get the text content of the email | |
set_author ( string $author ) | Set the author name | |
set_html ( string $html ) | Set the HTML content of the email | |
set_options ( array $options ) | Set the options for this message | |
set_reply_address_handler ( callable $handler ) : string | Set the reply address handler | |
set_subject ( string $subject ) | Set the subject line | |
set_text ( stirng $text ) | Set the text content of the email |
public get_author ( ) : string | ||
Результат | string | Author name |
public get_options ( ) : array | ||
Результат | array |
public get_reply_address ( WP_User $user ) : string | null | ||
$user | WP_User | |
Результат | string | null | Reply email address |
public get_subject ( ) : string | ||
Результат | string | Subject line (including prefixes) |
public set_author ( string $author ) | ||
$author | string | Author name |
public set_options ( array $options ) | ||
$options | array | { @param int $id Post ID to use for hash @param string $author Author name (leave blank for no name) } |
public set_reply_address_handler ( callable $handler ) : string | ||
$handler | callable | Handler function (passed WP_User instance and Falcon_Message handler) |
Результат | string |
public set_subject ( string $subject ) | ||
$subject | string | Subject line |
public set_text ( stirng $text ) | ||
$text | stirng | Text content |
protected callable $reply_address_handler | ||
Результат | callable |