Application::install()
Source
File: classes/Application.php
public function install() { $version = get_option( 'dozent_version' ); do_action( 'dozent_plugin_before_activate', $version ); //Save Option if ( ! $version ) { //Install necessary things for the Dozent Install::instance(); //Rewrite Flush update_option( 'required_rewrite_flush', dozent_time() ); } do_action( 'dozent_plugin_after_activate', $version ); //Updated the current Dozent Plugin version. update_option( 'dozent_version', DOZENT_VERSION ); }