WordPress at a glance
function is not described

WP_Rewrite::remove_permastruct() public WP 4.5.0

Removes a permalink structure.

{} It's a method of the class: WP_Rewrite{}

No Hooks.

Return

Null. Nothing.

Usage

global $wp_rewrite;
$wp_rewrite->remove_permastruct( $name );
$name(string) (required)
Name for permalink structure.

Changelog

Since 4.5.0 Introduced.

Code of WP_Rewrite::remove_permastruct() WP 5.5.1

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