} // log to file file_put_contents($file, $line, FILE_APPEND); return true; } } else { function taccess_log() { } } } // <<<<<<<<<<<< includes -------------------------------------------------- include TACCESS_PLUGIN_PATH . '/loader.php'; TAccess_Loader::load('CLASS/Helper'); // init Access_Helper::init(); // update on activation function taccess_on_activate() { TAccess_Loader::load('CLASS/Updater'); Access_Updater::maybeUpdate(); } register_activation_hook(__FILE__, 'taccess_on_activate'); // auxilliary global functions // register the function for backwards compatibility function wpcf_access_register_caps() { } /** * WPML translate call. *