Browse: Home / Functions /

learndash_emails_parse_placeholders

learndash_emails_parse_placeholders( string $content = '',  array $placeholders = array() )

Parses the email subject and message to replace email placeholders


Description #


Parameters #

$content

(string) (Optional) Email content to parse for placeholders.

Default value: ''

$placeholders

(array) (Optional) Array of placeholder token/values.

Default value: array()


Return #

(array) $email_content Email content.


Source #

File: includes/payments/ld-emails-functions.php


Changelog #

Changelog
Version Description
3.6.0 Introduced.