Deprecated

This method has been deprecated.

AnsPress_Email_Hooks::replace_tags( string $content, array $args )

Description #

Replace tags in email template.

Parameters #

  • $content
    string (Required) Template content.
  • $args
    array (Required) Arguments.

Changelog #

VersionDescription
4.1.0Introduced.

Source #

File: addons/free/email.php

	public static function replace_tags( $content, $args ) {
		return strtr( $content, $args );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment