Saturday, November 12, 2022
HomeWordPress Developmentdesk - What's the advisable solution to delete customers

desk – What’s the advisable solution to delete customers


Options may be written in plugins that retailer lists of consumer ids in their very own fields within the database. WordPress doesn’t discover these associations once you delete a consumer so code that makes use of these lists might fail catastrophically.

WordPress does embrace a “deleted” column within the database and a “user_status” column.

Within the WP_User notes on the wordpress web site wp_user constructor it refers back to the ‘deleted’ column as a wordpress multisite discipline as if that’s present. However setting this worth to 1 within the database doesn’t stop customers from being displayed within the customers checklist.

So it seems like WordPress ignores this discipline.

Can we rely upon the ‘deleted’ discipline to stay within the WordPress wp_users desk so we may filter the customers checklist ourselves or is there an opportunity that the ‘deleted’ discipline might disappear in a future wordpress replace?

OR

Is there a ‘advisable’ technique of deleting customers so they don’t show within the customers checklist desk anymore?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments