WP_Rewrite::remove_permastruct( string $name )

In this article

Removes a permalink structure.

Parameters

$namestringrequired
Name for permalink structure.

Source

public function remove_permastruct( $name ) {
	unset( $this->extra_permastructs[ $name ] );
}

Changelog

VersionDescription
4.5.0Introduced.

User Contributed Notes

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