Returns the object subtype for a given array ID of a specific type.


  • Full name: get_object_subtype
  • Defined in: cms/core/Shared/Helpers/db.php

Parameters

Parameter Type Description
$type string Type of array to request attribute for. (e.g. content, user, product).
$id string ID of the array to retrieve its subtype.

Return Value

string

The array subtype or an empty string if unspecified subtype.