wp_install_maybe_enable_pretty_permalinks

SummerySummery

Maybe enable pretty permalinks on installation.

Syntax

wp_install_maybe_enable_pretty_permalinks()

DescriptionDescription

If after enabling pretty permalinks don’t work, fallback to query-string permalinks.

ReturnReturn

(bool) Whether pretty permalinks are enabled. False otherwise.

SourceSource

File: wp-admin/includes/upgrade.php


			

ChangelogChangelog

Changelog
Version Description
4.2.0 Introduced.
Scroll to Top