shopp_order_line_data_count()

get the count of the order line-item data entries

shopp_order_line_data_count ( $order, $line )

@param int $order the order id
@param int $line the order line item
@return int|bool count number of entries in the line item data array for a given line item, false if line item doesn't exist

Description

get the count of the order line-item data entries

Example

// get the number of data entries of the 1st line-item of order 15
$count = shopp_order_line_data_count( 15, 0);

See Also

You must be logged in to post a comment.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar