Last active
          May 28, 2016 13:32 
        
      - 
      
- 
        Save max-kk/650abfa81a9bb7ba50f97adbb8febaa6 to your computer and use it in GitHub Desktop. 
    Add Description and Full desccription to User notify emails
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | <?php | |
| add_filter( '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; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment