wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



get_object_subtype_{$object_type} › Filtr WordPress Hooks

Od4.9.8
Przestarzałyn/a
› apply_filters( "get_object_subtype_{$object_type}", $object_subtype, $object_id )
Parametry: (2)
  • () object_subtype Object subtype or empty string to override.
    Wymagane: Tak
  • () object_id ID of the object to get the subtype for.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Filters the object subtype identifier.

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: - `get_object_subtype_blog` - `get_object_subtype_post` - `get_object_subtype_comment` - `get_object_subtype_term` - `get_object_subtype_user`




Źródło

return apply_filters( "get_object_subtype_{$object_type}", $object_subtype, $object_id );