The dynamic portion of the hook name, $object_type, refers to the meta object type (blog, post, comment, term, user, or any other type with an associated meta table). Possible hook names include: <ul> <li>get_object_subtype_blog</li> <li>get_object_subtype_post</li> <li>get_object_subtype_comment</li> <li>get_object_subtype_term</li> <li>get_object_subtype_user</li> </ul>
1852*1853* @since 4.9.81854*1855* @param string$object_subtypeObject subtype oremptystring to override.1856* @param int$object_idID of the object to get the subtype for.1857*/1858returnapply_filters("get_object_subtype_{$object_type}",$object_subtype,$object_id);1859}1860
History
Introduced in 4.9.8. Unchanged from 6.7.7 through 7.1.0.