Uses
Uses | Description |
---|---|
wp-includes/class-wp-rewrite.php: WP_Rewrite::remove_permastruct() | Removes a permalink structure. |
Removes a permalink structure.
Can only be used to remove permastructs that were added using add_permastruct(). Built-in permastructs cannot be removed.
(string) (Required) Name for permalink structure.
File: wp-includes/rewrite.php
function remove_permastruct( $name ) { global $wp_rewrite; $wp_rewrite->remove_permastruct( $name ); }
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/remove_permastruct