AnsPress_Theme::after_question_content()

Description #

Callback for showing content below question and answer.

Changelog #

VersionDescription
4.1.2Introduced.

Source #

File: includes/class-theme.php

	public static function after_question_content() {
		echo ap_post_status_badge(); // xss safe.

		$_post    = ap_get_post();
		$activity = ap_recent_activity( null, false );

		if ( ! empty( $activity ) ) {
			echo '<div class="ap-post-updated"><i class="apicon-clock"></i>' . $activity . '</div>';
		}
	}

Leave a Reply

Your email address will not be published. Required fields are marked *

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

Add your comment