EDD_Stripe_Utils_Registry::add_item( string $item_id, array $attributes )

Adds an item to the registry.


Description Description


Parameters Parameters

$item_id

(Required) Item ID.

$attributes

(Required) Array of item attributes. Each extending registry will handle item ID and attribute building in different ways.


Top ↑

Return Return

(bool) True if $attributes is not empty, otherwise false.


Top ↑

Source Source

File: includes/gateways/stripe/includes/utils/class-registry.php

41
 

Top ↑

Changelog Changelog

Changelog
Version Description
2.6.19 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.