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



xmlrpc_call_success_wp_newcomment › WordPress动作钩子

Since3.4.0
已弃用n/a
› do_action( 'xmlrpc_call_success_wp_newComment', $comment_id, $args )
参数: (2)
  • () comment_id ID of the new comment.
    Required: Yes
  • () args An array of new comment arguments.
    Required: Yes
定义在:
文档:

Fires after a new comment has been successfully created via XML-RPC.





源码

do_action( 'xmlrpc_call_success_wp_newComment', $comment_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase