• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Easy Digital Downloads a2z

Easy Digital Downloads a2z

Easy Digital Downloads a2z

  • Home
  • Plugins
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / EDD_Email_Template_Tags::add() – Add an email tag

You appear to be a bot. Output may be restricted

Description

Add an email tag

Usage

EDD_Email_Template_Tags::add( $tag, $description, $func );

Parameters

$tag
( string ) required – Email tag to be replace in email
$description
( mixed ) required –
$func
( callable ) required – Hook to run when email tag is found

Returns

void

Source

File name: easy-digital-downloads/includes/emails/class-edd-email-tags.php
Lines:

1 to 9 of 9
  public function add( $tag, $description, $func ) {
    if ( is_callable( $func ) ) {
      $this->tags[$tag] = array(
        'tag'         => $tag,
        'description' => $description,
        'func'        => $func
      );
    }
  }
 

 View on GitHub View on Trac

Published: 26th November 2019 | Last updated: 12th September 2021

Primary Sidebar

Information

Function name: EDD_Email_Template_Tags::add
Class ref: EDD_Email_Template_Tags
Plugin ref: Easy Digital Downloads
Version: 2.11.6
Sourcefile: includes/emails/class-edd-email-tags.php
File ref: includes/emails/class-edd-email-tags.php
Deprecated?: No
API Letters: A,E,T

Footer

Easy Digital Downloads a2z
Easy Digital Downloads a2z
Easy Digital Downloads a2z
WordPress 5.9.3
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  edd.wp-a2z.org
© Copyright Easy Digital Downloads a2z 2014-2022. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites