Home › Forums › Front End PM PRO › Announcement
Tagged: BCC; announcements
- This topic has 6 replies, 2 voices, and was last updated 6 years, 10 months ago by De Pottenbakker Evangelische Kerk.
- AuthorPosts
- February 23, 2019 at 9:36 pm #21971De Pottenbakker Evangelische KerkParticipant
Hi
I purchased the pro version of the plugin.
And where the free version has a button to send only 1 announcement mail to all selected user-roles (with them in everyone in bcc) the paid version wants to send all individual emails.Is there a way to make the Pro version do the same for announcements?
So send 1 mail to all selected users, but everyone is in bcc.February 23, 2019 at 11:41 pm #21975Shamim HasanKeymasterAdd following code in your theme’s (child theme’s if you are using) functions.php
add_action( 'init', function() { if ( class_exists( 'Fep_Email_Beautify' ) ) { remove_action( 'wp_loaded', array( Fep_Email_Beautify::init(), 'announcement_email_send' ), 12 ); } }, 12 );February 24, 2019 at 3:42 am #21977De Pottenbakker Evangelische KerkParticipantHi,
Yes, I do use a child theme, so i tried it.
This does give back the function of having only one mail, but now the email is not “beautified” anymore.
Is there a way to have both functions.In the beautified email i use an HTML layout and the following tags:
- {{subject}}
- {{message}}
- {{announcement_url}}
- {{site_title}
- {{site_url}}
So the email is equal for everyone.
February 24, 2019 at 2:01 pm #21992Shamim HasanKeymasterRemove previous code and add following code in your child theme’s functions.php
add_action( 'init', function() { if ( class_exists( 'Fep_Email_Beautify' ) ) { remove_action( 'wp_loaded', array( Fep_Email_Beautify::init(), 'announcement_email_send' ), 12 ); add_filter( 'fep_filter_before_announcement_email_send', array( Fep_Email_Beautify::init(), 'filter_before_email_send' ), 10, 2 ); } }, 12 );This is a non standard solution. This may break in future.
February 24, 2019 at 2:33 pm #21996De Pottenbakker Evangelische KerkParticipantDear
This does not seems to work. The mails still show the standard (from the free version) text.
Do I need to do something extra?
I already deactivated and activated the plugin again.February 24, 2019 at 3:26 pm #21999Shamim HasanKeymasterI have updated above code. Please use this code.
February 25, 2019 at 1:25 am #22015De Pottenbakker Evangelische KerkParticipantIt looks like its working.
thanks!
- AuthorPosts
You need to purchase ‘Front End PM PRO’ to create topic in this support forum.
If you already purchased ‘Front End PM PRO’ please LOGIN.