Tags::ap_question_info( object $post )

Description #

Hook tags after post.

Parameters #

  • $post
    object (Required) Post object.

Changelog #

VersionDescription
1.0Introduced.

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>'
			);
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment