Filter
rpress_email_footer_text
On this page
Filters the footer link text in the default email template.
Runs in the default email footer template. The default is a "View Details" link to the Order History page. The footer text is only shown for logged-in users. The value is passed through wptexturize, wpautop and wp_kses_post.
Parameters#
| Parameter | Type | Description |
|---|---|---|
$footer_text | string | The footer HTML, by default a View Details link to the Order History page. |
Return value#
string. The footer HTML.
Example#
function my_email_footer_text( $footer_text ) {
return $footer_text . ' | ' . esc_html( get_bloginfo( 'name' ) );
}
add_filter( 'rpress_email_footer_text', 'my_email_footer_text' );
Source#
Applied in:
templates/emails/footer-default.php(line 50)
Was this page helpful?
