WP_Rewrite::remove_permastruct( string $name )
Removes a permalink structure.
Description
Parameters
- $name
-
(string) (Required) Name for permalink structure.
Source
File: wp-includes/class-wp-rewrite.php
public function remove_permastruct( $name ) { unset( $this->extra_permastructs[ $name ] ); }
Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |