ap_get_terms( boolean|string $taxonomy = false, mixed $_post = null )
Description #
Get terms of a question.
Parameters #
- $taxonomyboolean | string (Optional) Taxonomy slug. Default value: false
- $_postmixed (Optional) Post object, ID or null. Default value: null
Source #
File: includes/qaquery.php
function ap_get_terms( $taxonomy = false, $_post = null ) { $_post = ap_get_post( $_post ); if ( ! empty( $_post->terms ) ) { return $_post->terms; } return false; }
Expand full source code Collapse full source code View on GitHub: includes/qaquery.php:620
Add your comment