Noptin_New_Post_Notify::default_automation_data( array $data )

Filters default automation data.


Parameters Parameters

$data

(array) (Required) The automation data.


Top ↑

Source Source

File: includes/class-noptin-new-post-notify.php

	public function default_automation_data( $data ) {

		if ( 'post_notifications' === $data['automation_type'] ) {
			$data['email_body']   = noptin_ob_get_clean( locate_noptin_template( 'default-new-post-notification-body.php' ) );
			$data['subject']      = '[[post_title]]';
			$data['preview_text'] = __( 'New article published on [[blog_name]]', 'newsletter-optin-box' );
		}
		return $data;

	}


Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation