Core Function
View Source on Trac ↗ _post_format_get_terms()
_post_format_get_terms( mixed $terms, mixed $taxonomies, mixed $args ) Remove the post format prefix from the name property of the term objects created by get_terms().
Parameters 3 required
| Name / Type | Description |
|---|---|
| array | $terms Required |
| (string | | array) $taxonomies Required |
| array | $args Required |
Return Value
(array)
array
Function Information
Since Version
3.1.0
Source File
wp-includes/post-formats.php
Advertisement