SANTechIdea Wordpress Blog

1

WordPress is FREE

WordPress is free software. You can download and use it for free. Automated templates WordPress uses templates and styles to control the appearance of your site. That way, you don’t have to worry about...

WordPress Filesystem class and connect

Initialize the WordPress Filesystem class and connect to the file system: he heart of the WordPress Filesystem API is the WP_Filesystem function. It loads and initializes the appropriate transportation class, stores an obtained instance...

Filesystem API Class Reference

Filesystem API Class Reference: Class: WP_Filesystem_Base Class: WP_Filesystem_Direct Class: WP_Filesystem_FTPext Class: WP_Filesystem_ftpsocket Class: WP_Filesystem_SSH2 Function: request_filesystem_credentials() Getting Credentials: The first step in using the WP_Filesystem is requesting credentials from the user. The normal way...

FileSystem API Introduction

Introduction The Filesystem API, added in WordPress 2.6, was originally created for WordPress’ own automatic updates feature. The Filesystem API abstracts out the functionality needed for reading and writing local files to the filesystem...

Wordpress Database

The wordpress Database Class

The wpdb Class This global WordPress class is key for using queries. In fact, every function uses this class. Using query: The query function needs a string containing the custom query. The returning value...

Wordpress Database

WordPress Database

Interfacing With the Database WordPress provides a class of functions for all database manipulations. The class is called wpdb . WordPress provides a global variable, $wpdb, which is an instantiation of the class already...

WordPress Shortcode API

Shortcode API Introduced in WordPress 2.5 is the Shortcode API, a simple set of functions for creating macro codes for use in post content. For instance, the following shortcode (in the post/page content) would...

Filter Hooks

Filter hooks are used to manipulate output. An example of this would be to add a line or text (or a hyperlink, or a signature sign-off—whatever you’d like) to the end of the content...

Hook Actions

list of the action hooks available for use in plugin development in Version 2.1 and above of WordPress. widgets_init – Used to register sidebars. This is fired at ‘init’, with a priority of 1....

Action Hooks

Action hooks are designated points in the WordPress core, theme and plugin code where it is possible for outside resources (outside of the scope of where the hook is… either in the core, theme...

Plugin API

The Plugin API provides a neat interface to work with actions and filters. Hooks, Actions and Filters Hooks are provided by WordPress to allow your plugin to ‘hook into’ the rest of WordPress; that...