ap_get_active_addons()

Description #

Return all active addons.

Source #

File: includes/functions.php

function ap_get_active_addons() {
	$active_addons = array();

	foreach ( ap_get_addons() as $addon ) {
		if ( $addon['active'] ) {
			$active_addons[ $addon['id'] ] = $addon;
		}
	}

	return $active_addons;
}

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