LLMS_Install::verify_permalinks()

Retrieve permalinks structure to verify if they are set, and any new defaults are saved


Return Return

(void)


Top ↑

Source Source

File: includes/class.llms.install.php

	public static function verify_permalinks() {
		if ( ! get_option( 'lifterlms_permalinks' ) ) {
			llms_switch_to_site_locale();

			// Retrieve the permalink structure, which will also save the default structure if it's not set.
			llms_get_permalink_structure();

			llms_restore_locale();
		}
	}


Top ↑

Changelog Changelog

Changelog
Version Description
7.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.