DEV Community

Israa
Israa

Posted on

SQL in wordpress

How to add SQL in wordpress?

Top comments (2)

Collapse
 
helenanders26 profile image
Helen Anderson

Hi, I'm removing the #database tag from your article. This has nothing do with the quality of your article nor does it indicate that you've done something wrong. We just reserve this tag to be used specifically when someone has written a post about or is asking a specific question about #database Hope you understand!

Since your question aims to solve a specific technical problem, you may consider using the #help tag instead.

Collapse
 
bugsysailor profile image
Bugsy Sailor

Wordpress has a wonderful WPDB class that allows you to run custom SQL queries against the Wordpress database.

developer.wordpress.org/reference/...