✴︎ Welcome
to my
Blog.
—20.26
Some interesting stuff…
-
WP: Must Use Plugins, Email Integration, and Background Processing
Must Use Plugins (MU-Plugins) What Are MU-Plugins? Must Use Plugins, or MU-Plugins, are special types of WordPress plugins that are automatically enabled on your site. Unlike regular plugins that can be activated or deactivated from the WordPress dashboard, MU-Plugins are installed in a specific directory (wp-content/mu-plugins) and run by default on every page load. They…
-
Advanced Plugin: DB Schema, Cron API, and Custom DB Tables
In this blog, we will delve into advanced topics in WordPress plugin development. Specifically, we’ll explore how to design and implement a database schema, work with the WordPress Cron API, and create custom database tables. These are crucial skills for developing sophisticated plugins that require complex data management and automation. 1. Database Schema Design in…
-
Advance Plugin: AJAX & Rewrites
Understanding AJAX in WordPress AJAX, or Asynchronous JavaScript and XML, is a technology that allows web pages to be updated asynchronously by exchanging data with a web server behind the scenes. This means that parts of a web page can be updated without requiring a full-page refresh, creating a smoother and more interactive user experience.…
-
Advanced WordPress Plugin APIs
Rewrite API The Rewrite API enables developers to create and manage custom URL structures and query handling in WordPress. This API is vital for defining new routes, ensuring that URLs are user-friendly and serve specific content or functionalities. Key Functions: This rule maps example.com/custom/something to a custom query variable. Practical Use Cases: 2. Dashboard Widgets…
-
Understanding WordPress Transient API and HTTP API
The Transient API The WordPress Transient API is designed for storing temporary data in the database. Unlike regular options that are stored permanently until deleted, transient data automatically expires after a specified time. Key Functions of Transient API: Use Cases: Example: The HTTP API The WordPress HTTP API provides a simple way to send HTTP…