before_delete_post
——nvPress Hooks
播放幻灯片
|
文档首页
文档目录
钩子简介
Actions
_nv_register_client_side_render_router
_realtime_inited
_realtime_received
_realtime_closed
nv_head
async:nv_render:${route_name}
before_delete_user
after_delete_user
update_user
user_register
insert_post
update_post
before_delete_post
after_delete_post
setted_option:${name}
deleted_option:${name}
before_insert_post
before_update_post
nv_admin_head
rest_api_init
socket_api_init
manage_admin_${post_type}_postlist_columns
manage_admin_${post_type}_postlist_data
Filters
post_permalink
term_permalink
render_core_block:${block_name}
rest_request_${method}:${rest_route}
rest_send_${method}:${rest_route}
option:${name}
manage_admin_${posttype}_postlist_columns
manage_admin_${posttype}_postlist_data
manage_admin_userlist_columns
manage_admin_userlist_data
pre_insert_user_data
pre_update_user_data
get_blocks_default_data
update_blocks_default_data
nv_user_login_cookie_options
nv_user_logout_cookie_options
async:before_media_insert
基础信息
名称:
before_delete_post
类型:
动作(action)
作用:
删除文章前调用
动作参数
#
类型
备注
1
Number
文章ID