LLMS_Install::verify_permalinks()
Retrieve permalinks structure to verify if they are set, and any new defaults are saved
Return Return
(void)
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();
}
}
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 7.6.0 | Introduced. |