首页 WordPress函数大全 add_permastruct()

add_permastruct()

2020-05-01 / 3088阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

add_permastruct( string $name, string $struct, array $args = array() )

Add permalink structure.

描述

See also See also

  • WP_Rewrite::add_permastruct()

Top ↑

参数

$name

(string)
(Required)
Name for permalink structure.

$struct

(string)
(Required)
Permalink structure.

$args

(array)
(Optional)
Arguments for building the rules from the permalink structure, see WP_Rewrite::add_permastruct() for full details.

Default value: array()

大家谈论
    我的见解