apply_filters( "get_object_subtype_{$object_type}", string $object_subtype, int $object_id )

Filters the object subtype identifier for a non standard object type.


Description

The dynamic portion of the hook, $object_type, refers to the object type (post, comment, term, or user).


Parameters

$object_subtype

(string) Empty string to override.

$object_id

(int) ID of the object to get the subtype for.


Source

File: wp-includes/meta.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.9.8 Introduced.