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



xmlrpc_call_success_wp_newcategory ›

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

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





源码

do_action( 'xmlrpc_call_success_wp_newCategory', $cat_id, $args );