How to run a command from php files in wordpress

Status
Not open for further replies.

trickobrien

New Member
hello

I have uploaded a php file that will delete all authors with no posts
Will this command execute with permissions set to 644? or do i need to change permissions?

thanks
 

mneylon

Administrator
Staff member
Why don't you just do it via MySQL?
 

trickobrien

New Member
Ive been running a SQL command to delete users,their posts and,and all related meta data-works fine,but some people have reported -deleting users with no posts-that even though rows were deleted in DB,users still visible in admin,and running the PHP command was recommended.

Also just wanted to try it! another WP function to learn
 
Status
Not open for further replies.
Award-winning Mac antivirus and Internet security software
Top