WP_Rewrite::remove_permastruct( string $name )
Removes a permalink structure.
Parameters
- $name
-
(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 |
---|---|
WP-4.5.0 | Introduced. |