WordPress开发者和主题制作者的搜索引擎



xmlrpc_publish_post ›

Since2.1.0
已弃用n/a
do_action( 'xmlrpc_publish_post', $post_id )
参数:
  • (int) $post_id Post ID.
    Required: Yes
定义在:
文档:

Fires when _publish_post_hook() is called during an XML-RPC request.





源码

do_action( 'xmlrpc_publish_post', $post_id );