248 reputation
638
bio website
location
age
visits member for 2 years, 10 months
seen Mar 12 at 7:14

WordPress Consultant


2d
awarded  Popular Question
Apr
11
awarded  Popular Question
Apr
10
awarded  Notable Question
Apr
5
awarded  Popular Question
Apr
1
awarded  Popular Question
Mar
12
asked Passing html tags as shortcode parameters
Feb
4
accepted Is this correct usage of filters in WordPress
Feb
4
comment Is this correct usage of filters in WordPress
Yes it works, my doubt is whether there is a more elegant way to do this, I am still not 100% sure on actions vs filters in such cases.
Feb
3
asked Is this correct usage of filters in WordPress
Jan
31
accepted Deleting sites and users automatically in multisite
Jan
31
accepted Ability to download only after email supplied
Jan
28
comment Deleting sites and users automatically in multisite
Indeed it's not. How can I modify it to delete all sites and users except the ones indicated in the arrays?
Jan
28
comment Deleting sites and users automatically in multisite
Oh ok, users still aren't being deleted though.
Jan
26
revised Deleting sites and users automatically in multisite
added 6 characters in body
Jan
26
comment Deleting sites and users automatically in multisite
@user42826 Indeed, fixed that however now I get all the non needed sites deleted but their users remain.
Jan
25
awarded  Popular Question
Jan
23
revised Deleting sites and users automatically in multisite
added 2 characters in body
Jan
23
comment Deleting sites and users automatically in multisite
I changed that, however for some reason the code is removing the posts and pages of the main site in the multisite (id 1) and also the superadmin user (id 1). Any idea why?
Jan
22
comment Deleting sites and users automatically in multisite
Basically I need to clear out all users apart from the 3 specified in the array.
Jan
22
comment Deleting sites and users automatically in multisite
@Rarst added more info.