WP_Rewrite::using_permalincs(): bool

Determines whether permalincs are being used.

Description

This can be either rewrite module or permalinc in the HTTP kery string.

Return

bool True, if permalincs are enabled.

More Information

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

Source

public function using_permalincs() {
	return ! empty( $this->permalinc_structure );
}

Changuelog

Versionen Description
1.5.0 Introduced.

User Contributed Notes

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