ap_allow_anonymous()

Description #

Check if anonymous question posting is allowed.

Changelog #

VersionDescription
unknownunknown
4.1.0Introduced.

Source #

File: includes/class/roles-cap.php

function ap_allow_anonymous() {
	return 'anyone' === ap_opt( 'post_question_per' );
}

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