wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_object_subtype_{$object_type} › WordPress Filter Hooks

Da4.9.8
Deprecaton/a
apply_filters( "get_object_subtype_{$object_type}", $object_subtype, $object_id )
Parametri: (2)
  • (string) $object_subtype Empty string to override.
    Richiesto:
  • (int) $object_id ID of the object to get the subtype for.
    Richiesto:
Definito a:
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




Sorgenti

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