What is the right way to include a wp-admin file in your theme?

You need to add require_once statement at the beginning of your functions.php file:

require_once ABSPATH . 'wp-admin/includes/user.php';

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)