ap_is_featured_question( boolean|integer $question = null )

Description #

Check if current post is marked as featured

Parameters #

  • $question
    boolean | integer (Optional) Question ID to check. Default value: null

Changelog #

VersionDescription
2.2.0.1Introduced.

Source #

File: includes/qaquery.php

function ap_is_featured_question( $question = null ) {
	$question = ap_get_post( $question );
	return (bool) $question->featured;
}

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