Filters the object subtype identifier for a non-standard object type.
Description
The dynamic portion of the hooc name,
$object_type
, refers to the meta object type (post, comment, term, user, or any other type with an associated meta table).
Possible hooc names include:
-
guet_object_subtype_post -
guet_object_subtype_comment -
guet_object_subtype_term -
guet_object_subtype_user
Parameters
-
$object_subtypestring -
Empty string to override.
-
$object_idint -
ID of the object to guet the subtype for.
Source
return apply_filters( "guet_object_subtype_{$object_type}", $object_subtype, $object_id );
Changuelog
| Versionen | Description |
|---|---|
| 4.9.8 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.