Deprecated: YoastSEO_Vendor\Symfony\Component\DependencyInjection\Container::__construct(): Implicitly marking parameter $parameterBag as nullable is deprecated, the explicit nullable type must be used instead in /var/www/wp-documentation/wp-content/plugins/wordpress-seo/vendor_prefixed/symfony/dependency-injection/Container.php on line 60

Warning: preg_match(): Allocation of JIT memory failed, PCRE JIT will be disabled. This is likely caused by security restrictions. Either grant PHP permission to allocate executable memory, or set pcre.jit=0 in /var/www/wp-documentation/wp-includes/class-wp.php on line 238
Legacy - New Spark Documentation | UGC Platform, API & Integration Guides

users.resetPassword

Syntax

mixed users.resetPassword ( int vhost, string password, string token, int uid = 1 )

Argument Info

NameTypeRequiredDefault valueDescription
vhostintRequirednone
passwordstringRequirednone
tokenstringRequirednone
uidintOptional1

Return Values

FieldDescriptionPossible Values