Noptin_New_Post_Notify::maybe_send_notification( $post_id,  $campaign_id,  $key = '' )

(Maybe) Send out a new post notification


Source Source

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

	public function maybe_send_notification( $post_id, $campaign_id, $key = '' ) {

		// If a notification has already been send abort...
		if ( get_post_meta( $post_id, 'noptin_associated_new_post_notification_campaign', true ) ) {
			return;
		}

		if ( empty( $key ) ) {
			$key = $post_id . '_' . $campaign_id;
		}

		$this->notify( $post_id, $campaign_id, $key );

	}


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