wpseek.com
WordPress开发者和主题制作者的搜索引擎
pre_get_shortlink › WordPress过滤钩子
Since3.0.0
已弃用n/a
› apply_filters( 'pre_get_shortlink', false, $id, $context, $allow_slugs )
参数: (4) |
|
定义在: |
|
文档: |
Filters whether to preempt generating a shortlink for the given post.
Returning a value other than false from the filter will short-circuit the shortlink generation process, returning that value instead.
Related Functions: wp_get_shortlink, get_shortcut_link, the_shortlink, wp_get_links, get_author_link, get_post_format_link