wp_install_maybe_enable_pretty_permalinks
wp_install_maybe_enable_pretty_permalinks ( No parameters )
Returns:- (bool) Whether pretty permalinks are enabled. False otherwise.
Defined at: - Introduced in WordPress: 4.2.0
- Deprecated in WordPress: —
Description
Maybe enable pretty permalinks on installation.If after enabling pretty permalinks don't work, fallback to query-string permalinks.