Determines whether permalinks are being used.

Description Description

This can be either rewrite module or permalink in the HTTP query string.

Top ↑

Return Return

(bool) True, if permalinks are enabled.

Top ↑

More Information More Information

Returns true if your blog is using any permalink structure (i.e. not the default query URIs ?p=n, ?cat=n).

Top ↑

Source Source

File: wp-includes/class-wp-rewrite.php

	public function using_permalinks() {
		return ! empty( $this->permalink_structure );

Top ↑

Changelog Changelog

Version Description
1.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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