Application::flush_rewrite_rules()

Rewrite flush to server with new URL base Usage case: change courses, lectures, quiz, assignments and others permalink base


Source

File: classes/Application.php

	public function flush_rewrite_rules() {
		$is_required_flush = get_option( 'required_rewrite_flush' );
		if ( $is_required_flush ) {
			delete_option( 'required_rewrite_flush' );

			flush_rewrite_rules();
		}
	}

Changelog

Changelog
Version Description
DozentLMS 1.0.0 Introduced.