ap_get_votes_net( mixed $_post = null )

Description #

Return count of net vote of a question.

Parameters #

  • $_post
    mixed (Optional) Post ID, Object or null. Default value: null

Source #

File: includes/qaquery.php

function ap_get_votes_net( $_post = null ) {
	$_post = ap_get_post( $_post );
	return (int) $_post->votes_net;
}

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