Tags::ap_question_info( object $post )
Description #
Hook tags after post.
Parameters #
- $postobject (Required) Post object.
Source #
File: addons/tags/tags.php
public function ap_question_info( $post ) {
if ( ap_question_have_tags() ) {
echo wp_kses_post( '<div class="widget"><span class="ap-widget-title">' . esc_attr__( 'Tags', 'anspress-question-answer' ) . '</span>' );
echo wp_kses_post(
'<div class="ap-post-tags clearfix">' .
ap_question_tags_html(
array(
'list' => true,
'label' => '',
)
) .
'</div></div>'
);
}
}
Expand full source code Collapse full source code View on GitHub: addons/tags/tags.php:314
Add your comment