Title: pixelparadies's Replies | WordPress.org

---

# pixelparadies

  [  ](https://wordpress.org/support/users/pixelparadies/)

 *   [Profile](https://wordpress.org/support/users/pixelparadies/)
 *   [Topics Started](https://wordpress.org/support/users/pixelparadies/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pixelparadies/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pixelparadies/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pixelparadies/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pixelparadies/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pixelparadies/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Get mail body before send mail](https://wordpress.org/support/topic/get-mail-body-before-send-mail/)
 *  [pixelparadies](https://wordpress.org/support/users/pixelparadies/)
 * (@pixelparadies)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/get-mail-body-before-send-mail/#post-5847187)
 * I think this could help you:
 * [http://xaviesteve.com/3298/wordpress-contact-form-7-hook-unofficial-developer-documentation-and-examples/#comment-137384](http://xaviesteve.com/3298/wordpress-contact-form-7-hook-unofficial-developer-documentation-and-examples/#comment-137384)
 * [http://contactform7.com/2014/07/02/contact-form-7-39-beta/](http://contactform7.com/2014/07/02/contact-form-7-39-beta/)
 * For instance if you put this in functions.php you can replace the body:
 *     ```
       function mycf7_before_send_mail($WPCF7_ContactForm) {
   
       	$mail = $WPCF7_ContactForm->prop('mail');
       	$mail['body'] = 'Hi';
       	$WPCF7_ContactForm->set_properties( array( 'mail' => $mail ) );
   
       }
       add_action( "wpcf7_before_send_mail", "mycf7_before_send_mail" );
       ```
   
 * I’m sure you can achieve what you’re looking for with this knowledge.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Accordion Shortcodes] Embed shortcode in PHP template](https://wordpress.org/support/topic/embed-shortcode-in-php-template/)
 *  Thread Starter [pixelparadies](https://wordpress.org/support/users/pixelparadies/)
 * (@pixelparadies)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/embed-shortcode-in-php-template/#post-5817403)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)