置顶文章
- 2020-04-15
- 2020-04-25
- 2019-09-20
- 2020-06-19
- 2020-05-04
- 2020-12-06
- 2020-04-14
- 2020-04-25
最新文章

set_comment_cookies
设置注释cookie时执行其他操作。 原型 do_action( 'set_comment_cookies', WP_Comment $comment, WP_User $user, boolean $cookies_consent ) 参数 $comment (WP_Comment) 评论对象。 $user ...

twentythirteen_author_bio_avatar_size
过滤作者生物头像大小。 原型 apply_filters( 'twentythirteen_author_bio_avatar_size', int $size ) 参数 $size (int) 头像高度和宽度大小(以像素为单位)。 源文件 路径:wp-content/the...

tag_rewrite_rules
警告:此钩子已被弃用。请改用“post_tag_rewrite_rules” 过滤专门用于标签的重写规则。 原型 apply_filters( 'tag_rewrite_rules', array $rules ) 参数 $rules (array) 为标签生成重写规则...

comment_feed_limits
在发送之前过滤评论供稿查询的LIMIT子句。 原型 apply_filters_ref_array( 'comment_feed_limits', string $climits, WP_Query $this ) 参数 $climits (string) 查询的JOIN子句。 $this (WP_...

upgrader_source_selection
过滤升级包的源文件位置。 原型 apply_filters( 'upgrader_source_selection', string $source, string $remote_source, WP_Upgrader $this, array $hook_extra ) 参数 $source (string) 文...

after_theme_row_stylesheet
在多站点主题列表表中的每个特定行之后触发。 原型 do_action( "after_theme_row_{$stylesheet}", string $stylesheet, WP_Theme $theme, string $status ) 描述 钩子名称的动态部...

auto_update_type
过滤是否自动更新核心,插件,主题或语言。 原型 apply_filters( "auto_update_{$type}", bool $update, object $item ) 描述 钩子名称的动态部分$ type指的是要检查的更新类型。...

parse_tax_query
解析了与分类相关的查询变量之后的火灾。 原型 do_action( 'parse_tax_query', WP_Query $this ) 参数 $this (WP_Query) WP_Query实例。 源文件 路径:wp-includes/class-wp-query.php 其他 ...

submenu_file
过滤管理菜单子菜单项的文件。 原型 apply_filters( 'submenu_file', string $submenu_file, string $parent_file ) 参数 $submenu_file (string) 子菜单文件。 $parent_file (string) 子菜...

close_comments_for_post_types
过滤帖子类型列表以自动关闭评论。 原型 apply_filters( 'close_comments_for_post_types', array $post_types ) 参数 $post_types (array) 一系列已注册的帖子类型。带’post’的默认数组。 ...
热门文章
-
OneNice简洁大方且开源免费的WordPress主题 19470 阅读
-
Bootstrap4显示和隐藏元素 5449 阅读
-
mysql批量去除重复记录 4488 阅读
-
-
loadjs - javascript动态载入css和js文件 2308 阅读
-
BT宝塔中安装nodejs 2189 阅读
-
github无法加载或不显示图片问题 2070 阅读
-
Javascipt自定义哈希表 1723 阅读
最新评论