xmlrpc_call, wp.getAuthors, $args, $this
xmlrpc_call, wp.getAuthors, $args, $this
Appears in: 7.0.3
Hook Type: action
Displaying hooks found in version: 7.0.3do_action('xmlrpc_call, wp.getAuthors, $args, $this') is found 1 times:
- /wp-includes/class-wp-xmlrpc-server.php line 3334
return new IXR_Error( 401, __( 'Sorry, you are not allowed to edit posts.' ) ); } /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */ do_action( 'xmlrpc_call', 'wp.getAuthors', $args, $this ); $authors = array(); foreach ( get_users( array( 'fields' => array( 'ID', 'user_login', 'display_name' ) ) ) as $user ) { $authors[] = array( 'user_id' => $user->ID, 'user_login' => $user->user_login,