get_object_subtype
get_object_subtype ( $object_type, $object_id )
Parameters:- (string) object_type Type of object metadata is for. Accepts 'post', 'comment', 'term', 'user', or any other object type with an associated meta table.
- (int) object_id ID of the object to retrieve its subtype.
Returns:- (string) The object subtype or an empty string if unspecified subtype.
Defined at: - Introduced in WordPress: 4.9.8
- Deprecated in WordPress: —
Description
Returns the object subtype for a given object ID of a specific type.