get_object_subtype_{$object_type}

Advertisement

Summery Summery

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

Syntax Syntax

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

Description Description

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

Parameters Parameters

$object_subtype

Empty string to override.

$object_id

ID of the object to get the subtype for.

Source Source

File: wp-includes/meta.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.9.8 Introduced.

Advertisement

Leave a Reply