It's all about my technology & social adventures…

Tag Classes

Embracing PHP Class Composition: A Modern Approach Over Inheritance

Introduction: Object-oriented programming (OOP) in PHP has traditionally relied heavily on inheritance as a means of code reuse. However, as developers face the challenges of maintaining and extending complex systems, a shift towards class composition over inheritance has gained momentum…. Continue Reading →

WordPress Hooks and the Class: A Powerful Combination for Extending Functionality

WordPress is renowned for its flexibility and extensibility, allowing developers to build websites that go beyond the basics. At the heart of this extensibility are WordPress hooks, which enable you to modify or extend the core functionality of WordPress. In… Continue Reading →

WordPress $alloptions and $notoptions

$alloptions Whenever we are storing something on the WordPress options table via add_option() function, it stores the value in options table as well as cache. Yes, it stores it in 2 places. This is mainly for the quick retrieval or… Continue Reading →

Custom media button creation with wp.media

All most every WordPress users will use media in their posts, pages and comments. So media files playing a vital role in our WordPress world. WordPress will provide you an option to add media files in to your post by… Continue Reading →

Goodbye `get_terms`, Welcome `WP_Term_Query`

From WordPress 4.6, we have a new class called ​WP_Term_Query which will help us in querying the taxonomies easily. This class will give us more flexibility and ease of use like other classes like WP_Query,WP_User_Query, and WP_Comment_Query in WordPress. The main… Continue Reading →

© 2024 Dhanendran's Blog — Powered by WordPress

Theme by Anders NorenUp ↑