• 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_is_discount_single_use – filter

Filters if the discount is single use or not. 

Parameters

.
( 2.7 ) . .
$single_use
( bool ) Is the discount is single use or not. . . .
( int ) $ID Discount ID. . . .
Hook name: edd_is_discount_single_use
Hook type: filter
Plugin ref: Easy Digital Downloads
Sourcefile:
File ref: EDD_Discount::is_single_use() – Is the discount single use or not?
Description: Filters if the discount is single use or not. 
Parameters:
Deprecated?: No
API Letters: D,E,I,S,U

Invokers

1 to 2 of 2
  • EDD_Discount::get_once_per_customer() – Retrieve the usage limit per limit (if the discount can only be used once per customer).
  • EDD_Discount::is_single_use() – Is the discount single use or not?

Implementers

    Published: 26th November 2019 | Last updated: 14th September 2022

    Primary Sidebar

    Information

    Hook name: edd_is_discount_single_use
    Hook type: filter
    Plugin ref: Easy Digital Downloads
    Sourcefile:
    File ref: EDD_Discount::is_single_use() – Is the discount single use or not?
    Description: Filters if the discount is single use or not. 
    Parameters:
    Deprecated?: No
    API Letters: D,E,I,S,U

    Footer

    Easy Digital Downloads a2z
    Easy Digital Downloads a2z
    Easy Digital Downloads a2z
    WordPress 6.2.2
    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-2023. All rights reserved.


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