CPTP::activate PHP Метод

activate() публичный Метод

It will also set the uninstall_hook to the cptp_uninstall function which behaves the same way as this one.
С версии: 2.0.0
public activate ( )
    public function activate()
    {
        foreach ($this->modules as $module) {
            $module->activation_hook();
        }
        register_uninstall_hook(CPTP_PLUGIN_FILE, array(__CLASS__, 'uninstall'));
    }