Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- apply_filters( 'fv_user_mail_body', 'fv_filter_user_mail_body', 10, 2 );
- function fv_filter_user_mail_body($body, $photo) {
- $body = str_replace('{contestant_description}', $photo->description, $body);
- $body = str_replace('{contestant_full_description}', $photo->full_description, $body);
- return $body;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement