Function __global->get_product_price_points
Definitions
sources/points.php
- Get the price of the specified item for sale (only for tableless items).
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: int
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $item | ID_TEXT | No | No | required parameter | N/A | N/A | The name of the item |
Returns
- The price of the item
- Type: integer
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Get the price of the specified item for sale (only for tableless items).
*
* @param ID_TEXT $item The name of the item
* @return integer The price of the item
*/
function get_product_price_points(string $item) : int
* Get the price of the specified item for sale (only for tableless items).
*
* @param ID_TEXT $item The name of the item
* @return integer The price of the item
*/
function get_product_price_points(string $item) : int
