函数原型
remove_permastruct( string $name )
函数描述
Removes a permalink structure.
是否弃用
未弃用
函数参数
-
$name
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. |

