EDD_Stripe_Utils_Registry::get_attribute( string $key, string $item_id )
Retrieves the value of a given attribute for a given item.
Description Description
Parameters Parameters
- $key
-
(Required) Key of the attribute to retrieve.
- $item_id
-
(Required) Collection to retrieve the attribute from.
Return Return
(mixed|null) The attribute value if set, otherwise null.
Source Source
File: includes/gateways/stripe/includes/utils/class-registry.php
Changelog Changelog
Version | Description |
---|---|
2.6.19 | Introduced. |