You need to add require_once
statement at the beginning of your functions.php
file:
require_once ABSPATH . 'wp-admin/includes/user.php';
You need to add require_once
statement at the beginning of your functions.php
file:
require_once ABSPATH . 'wp-admin/includes/user.php';