在XML-RPC请求期间调用_publish_post_hook()时触发。
原型
do_action( 'xmlrpc_publish_post', int $post_id )
参数
$post_id
(int)
帖子ID。
源文件
路径:wp-includes/post.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/xmlrpc_publish_post/
在XML-RPC请求期间调用_publish_post_hook()时触发。
do_action( 'xmlrpc_publish_post', int $post_id )
$post_id
(int)
帖子ID。
路径:wp-includes/post.php
英文文档:https://developer.wordpress.org/reference/hooks/xmlrpc_publish_post/
请在后台设置小工具!