
如何使用Gatsby为WordPress生成静态网站
apply_filters( 'post_edit_category_parent_dropdown_args', $parent_dropdown_args )
post_row_actions。这个钩子允许你在WordPress仪表盘的”文章”屏幕上的行操作(如”编辑”或”垃圾桶”)列表中添加自定义操作。使用这个钩子,你可以添加自定义链接,在点击时执行特定的动作。
在“编辑后”页面上过滤分类父下拉列表的参数。
$parent_dropdown_args = apply_filters( 'post_edit_category_parent_dropdown_args', $parent_dropdown_args );