wpseek.com
A WordPress-centric search engine for devs and theme authors
get_object_subtype_{$object_type} › WordPress Filter Hooks
Since4.9.8
Deprecatedn/a
› apply_filters( "get_object_subtype_{$object_type}", $object_subtype, $object_id )
Parameters: (2) |
|
Defined at: |
|
Codex: |
Filters the object subtype identifier for a non-standard object type.
The dynamic portion of the hook name, $object_type
, refers to the meta object type
(post, comment, term, user, or any other type with an associated meta table).
Possible hook names include:
get_object_subtype_post
get_object_subtype_comment
get_object_subtype_term
get_object_subtype_user
Related Functions: get_object_subtype, get_post_type_object, get_object_term_cache, get_objects_in_term, get_allowed_block_types, get_comment_type
Related Hooks: get_comment_type, get_object_terms, wp_get_object_terms, set_object_terms, wp_get_object_terms_args