Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function wpcf7_default_mail_2_template() {
- $active = false;
- $subject = '[your-subject]';
- $sender = '[your-name] <[your-email]>';
- $body = __( 'Message body:', 'wpcf7' ) . "\n" . '[your-message]' . "\n\n" . '--' . "\n"
- . sprintf( __( 'This mail is sent via contact form on %1$s %2$s', 'wpcf7' ),
- get_bloginfo( 'name' ), get_bloginfo( 'url' ) );
- $recipient = '[your-email]';
- $additional_headers = '';
- $attachments = '';
- $use_html = 0;
- return compact( 'active', 'subject', 'sender', 'body', 'recipient', 'additional_headers', 'attachments', 'use_html' );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement