Function: _post_format_get_terms

_post_format_get_terms( array $terms, string | array $taxonomies, array $args )

Remove the post format prefix from the name property of the term objects created by get_terms().

Shortcut: pfgt

You can use above key combination to trigger the associated snippet for this function in the WordPress Snippets for Visual Studio Code extension. You can also use this shortcut to search for this function on this website.


Name Type(s) Default Value Description
$terms array
$taxonomies string | array
$args array



WordPress Developer Newsletter

Stay informed of new chapter releases, important WordPress API updates and more.