public function activate() {
		foreach ( $this->modules as $module ) {
			$module->activation_hook();
		}

		register_uninstall_hook( CPTP_PLUGIN_FILE, array( __CLASS__, 'uninstall' ) );
	}
public function activate() {
		foreach ( $this->modules as $module ) {
			$module->activation_hook();
		}

		register_uninstall_hook( CPTP_PLUGIN_FILE, array( __CLASS__, 'uninstall' ) );
	}
public function activate ( ) { foreach ( $ this -> modules as $ module ) { $ module -> activation_hook ( ) ; } register_uninstall_hook ( CPTP_PLUGIN_FILE , array ( __CLASS__ , 'uninstall' ) ) ; }
Activation Hooks
This function will browse initialized modules and execute their activation_hook methods.
It will also set the uninstall_hook to the cptp_uninstall function which behaves the same way as this one.

@since 2.0.0
Activation Hooks This function will browse initialized modules and execute their activation_hook methods . It will also set the uninstall_hook to the cptp_uninstall function which behaves the same way as this one .