Plus_Notification_Email.

Namespace \PlusBusinessSoftware\Emails
Bestand: Plus_Notification_Email.php

				
							/**
		 * @filter plus_notification_email_recipient.
		 * @param string The e-mail recipient.
		 * @return string The e-mail recipient.
		 */
		return apply_filters( $this->id . '_recipient', $this->recipient );
				
			
				
							/**
		 * @filter plus_notification_email_headers.
		 * @param array E-mail headers to use when sending the email.
		 * @return string E-mail headers to use when sending the email.
		 */
		return apply_filters( $this->id . '_headers', $headers );
				
			
				
							/**
		 * @filter plus_notification_email_notification_events.
		 * @param array An array of events.
		 * @return string An array of events.
		 */
		return apply_filters( $this->id . '_notification_events', array() );
				
			
				
							/**
		 * @filter plus_notification_email_attachments.
		 * @param string|array A string or array of string with a filename(s) to attach to the e-mail
		 * @return string|array A string or array of string with a filename(s) to attach to the e-mail
		 */
		return apply_filters( $this->id . '_attachments', $this->attachments );
				
			
				
							/**
		 * Filter for main find/replace.
		 *
		 * @filter plus_notification_email_format_string
		 * @param string The body of the e-mail in which placeholders have been replaced.
		 * @return string The body of the e-mail in which placeholders have been replaced.
		 */
		return apply_filters( $this->id . '_format_string', str_replace( $find, $replace, $string ) );
				
			
				
							/**
		 * Allow filtering of the email subject
		 *
		 * @filter woocommerce_email_subject_wc_plus_customer_needs_activation
		 * @param string The formatted email subject
		 * @param \PlusBusinessSoftware\Emails\WC_Customer_Needs_Activation_Email An instance of this class
		 */
		return apply_filters( $this->id . '_subject', $this->format_string( $this->subject ) );
				
			
				
							/**
		 * Allow filtering of the email heading
		 *
		 * @filter woocommerce_email_heading_wc_plus_customer_needs_activation
		 * @param string The formatted email heading
		 * @param \PlusBusinessSoftware\Emails\WC_Customer_Needs_Activation_Email An instance of this class
		 */
		return apply_filters( $this->id . '_heading', $this->format_string( $this->heading ) );