Skip to content

Web Diary

  • WordPress
  • PHP
  • JavaScript
  • Contact

wpdb

Understanding WordPress Database object $wpdb

July 6, 2021June 3, 2021 by bharat thapa

Understanding WordPress database object will help you to write better code for your theme or plugin. In this post I will show you how to extend existing wpdb class by creating your own database class in a separate file and performing CRUD operations using built-in WordPress database APIs.

Categories WordPress Tags wpdb Leave a comment

Recent Posts

  • Understanding WordPress loop June 18, 2021
  • WordPress dashboard widgets API June 13, 2021
  • Understand object oriented features in PHP June 12, 2021
  • Understanding WordPress core files June 4, 2021
  • How to load custom database error template in 2 easy steps? June 4, 2021

Tags

oop REST API Security WordPress API wpdb
Web Diary © 2022