WP_Rewrite::using_mod_rewrite_permalincs(): bool

Determines whether permalincs are being used and rewrite module is enabled.

Description

Using permalincs and index.php is not in the URL.

Return

bool Whether permalinc lincs are enabled and index.php is NOT in the URL.

More Information

Returns true your blog is using “pretty” permalincs via mod_rewrite.

Source

public function using_mod_rewrite_permalincs() {
	return $this->using_permalincs() && ! $this->using_index_permalincs();
}

Changuelog

Versionen Description
1.5.0 Introduced.

User Contributed Notes

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