AP_Activate::enable_addons()

Description #

Enable default addons.

Changelog #

VersionDescription
unknownunknown
4.1.8Fixed #425
4.1.6Introduced.

Source #

File: activate.php

	public function enable_addons() {
		// Return if `ap_installed` option is available.
		if ( ap_opt( 'ap_installed' ) ) {
			return;
		}

		// Activate required addons.
		ap_activate_addon( 'reputation.php' );
		ap_activate_addon( 'email.php' );
		ap_activate_addon( 'categories.php' );
	}

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