• 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 / Hooks / edd_get_discount_type – filter

Filters the discount type. 

Parameters

.
( 2.7 ) . .
$code
( string ) Discount type (percent or flat amount). . . .
( int ) $ID Discount ID. . . .
Hook name: edd_get_discount_type
Hook type: filter
Plugin ref: Easy Digital Downloads
Sourcefile:
File ref: Tests_Scripts::test_load_admin_scripts() – Test that the edd_load_admin_scripts() function will enqueue the proper styles.
Description: Filters the discount type. 
Parameters:
Deprecated?: No
API Letters: D,E,G,T

Invokers

1 to 1 of 1
  • EDD_Discount::get_type() – Retrieve the type of discount.

Implementers

    Published: 26th November 2019 | Last updated: 13th March 2021

    Primary Sidebar

    Information

    Hook name: edd_get_discount_type
    Hook type: filter
    Plugin ref: Easy Digital Downloads
    Sourcefile:
    File ref: Tests_Scripts::test_load_admin_scripts() – Test that the edd_load_admin_scripts() function will enqueue the proper styles.
    Description: Filters the discount type. 
    Parameters:
    Deprecated?: No
    API Letters: D,E,G,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