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(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped

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

		if ( ! empty( $activity ) ) {
			echo '<div class="ap-post-updated"><i class="apicon-clock"></i>' . wp_kses_post( $activity ) . '</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