Categories::ap_display_question_metas( array $metas, integer $question_id )
Description #
Append meta display.
Parameters #
- $metasarray (Required) Display meta items.
- $question_idinteger (Required) Question id.
Source #
File: addons/categories/categories.php
public function ap_display_question_metas( $metas, $question_id ) { if ( ap_post_have_terms( $question_id ) ) { $metas['categories'] = ap_question_categories_html( array( 'label' => '<i class="apicon-category"></i>' ) ); } return $metas; }
Expand full source code Collapse full source code View on GitHub: addons/categories/categories.php:365
Add your comment