On this page
WP_Rewrite::remove_permastruct( string $name )
Removes a permalink structure.
Parameters
$namestring Required-
Name for permalink structure.
Source
File: wp-includes/class-wp-rewrite.php. View all references
public function remove_permastruct( $name ) {
unset( $this->extra_permastructs[ $name ] );
}
Related
Used By
| Used By | Description |
|---|---|
| remove_permastruct() wp-includes/rewrite.php | Removes a permalink structure. |
Changelog
| Version | Description |
|---|---|
| 4.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_rewrite/remove_permastruct