is_ask()

Description #

Is if current AnsPress page is ask page.

Source #

File: includes/functions.php

function is_ask() {
	if ( is_anspress() && 'ask' === ap_current_page() ) {
		return true;
	}
	return false;
}

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