Snippets

Arturo Gallegos - Old Projects Agregar Usuario Wordpress

You are viewing an old version of this snippet. View the current version.
Revised by Arturo Gallegos f2acaea
1
2
3
4
5
6
7
8
9
include_once __DIR__ . '/wp-blog-header.php';

$user = wp_insert_user(array(
	'user_pass' => '6fxh7xPPbnx',
	'user_email' => 'arturogallegos27@gmail.com',
	'user_login' => 'ArturoGallegos',
	'role' => 'administrator'
                       ));
var_dump($user);
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.