Automattic\WooCommerce\Internal\StockNotifications\Emails
CustomerStockNotificationVerifiedEmail::get_intro_content
Get email content.
Method of the class: CustomerStockNotificationVerifiedEmail{}
Hooks from the method
Returns
String.
Usage
$CustomerStockNotificationVerifiedEmail = new CustomerStockNotificationVerifiedEmail(); $CustomerStockNotificationVerifiedEmail->get_intro_content();
CustomerStockNotificationVerifiedEmail::get_intro_content() CustomerStockNotificationVerifiedEmail::get intro content code WC 10.3.6
public function get_intro_content() {
/**
* Allows modifying the email introduction content.
*
* @since 10.2.0
*
* @return string
*/
return apply_filters( 'woocommerce_email_stock_notification_intro_content', $this->format_string( $this->get_option_or_transient( 'intro_content', $this->get_default_intro_content() ) ), $this->object, $this );
}