Core Function
View Source on Trac ↗ _post_format_get_term()
_post_format_get_term( mixed $term ) Remove the post format prefix from the name property of the term object created by get_term().
Parameters 1 required
| Name / Type | Description |
|---|---|
| object | $term Required |
Return Value
(object)
object
Function Information
Since Version
3.1.0
Source File
wp-includes/post-formats.php
Advertisement