ap_activity_object()

Description #

Get the global AnsPress activity instance.

Changelog #

VersionDescription
4.1.2Introduced.

Source #

File: includes/activity.php

function ap_activity_object() {
	if ( ! anspress()->activity ) {
		anspress()->activity = AnsPress\Activity_Helper::get_instance();
	}

	return anspress()->activity;
}

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