get_object_subtype
get_object_subtype ( $object_type, $object_id )
Parameters:- (string) $object_type Type of object to request metadata for. (e.g. comment, post, term, user)
- (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.