xmlrpc_call_success_wp_newCategory action-hook . WP 3.4.0
Fires after a new category has been successfully created via XML-RPC.
Usage
add_action( 'xmlrpc_call_success_wp_newCategory', 'action_function_name_8069', 10, 2 ); function action_function_name_8069( $cat_id, $args ){ // action... }
- $cat_id(int)
- ID of the new category.
- $args(array)
- An array of new category arguments.
Changelog
Since 3.4.0 | Introduced. |
Where the hook is called
xmlrpc_call_success_wp_newCategory
wp-includes/class-wp-xmlrpc-server.php 3400
do_action( 'xmlrpc_call_success_wp_newCategory', $cat_id, $args ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.NotLowercase