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

(string) Empty string to override.

$object_id

(int) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.