-
Boilerplate Wordpress Plugin Development Tutorials #1 Wordpress Installation | Introduction
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #1 Wordpress Installation | Introduction
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
What Is The WordPress Plugin Boilerplate?
=============================================
The boilerplate is a standardized, organized, object-oriented foundation for building high-quality WordPress plugins. There are some simple examples of how the parts work together as examples for building your plugin. In addition, the boilerplate includes easily overlooked plugin features like inline documentation and translation files.
Why we use Boilerplate?
====================
Here are at least five different ways the boilerplate helps when building plugins.
1. Organized
2. Object-Oriented
3. WordPress Coding Standards
4. WordPress Documentation Standards
5. Translatable
6. Plugin Generator
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #2 Discuss About Playlist Plans of Plugin Dev
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #2 Discuss About Playlist Plans of Plugin Development
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
PLAYLIST PLANS VIDEO BY VIDEO ...
About Folder Structure & files
Concept about global $wpdb object
Plugin Activation Hook
Plugin Deactivation Hook
Plugin menus, submenus, positions & icons
Ajax, CSRF, Sanitization Methods, CRUD operation with database tables
and Many More ...
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #3 About Plugin & Plugin Generator Tool detailed
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #3 About Plugin & Plugin Generator Tool detailed
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #4 Understand About Folders/Files of Plugin
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #4 Understand About Folders/Files of Plugin of Boilerplate Framework
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
ABOUT FOLDERS AND FILES OF BOILERPLATE FRAMEWORK
admin =
All Admin panel related operations.
a) Creating menus & submenus
b) Development of plugin form layouts at admin and their development sections.
c) Linking of assets of plugin at admin.
assets =
Common assets of admin panel & front-end.
Example:
a) let's say a loader in css we want to use in both panels
b) Some styles which are common to both ends.
Such type of common assets and their properties go here.
includes =
a) Plugin Intialization or loading all plugin files
b) Hooks & filters Intialization - Load all admin & public hooks
c) Table activation, deactivation, creating pages and ...
languages =
a) Storage of Plugin Translation files
public =
All Front-end panel related operations.
a) Manage front-end pages & their templates
b) Development of plugin form layouts for front-end.
c) Linking of assets of plugin for front-end.
plugin-file.php =
a) Plugin Main file which runs when plugin activates
b) It runs when any action will be performed to this plugin
c) It loads main functions of plugin
README.txt
a) All about plugin documentation.
b) Manage Plugin document for public URL from here.
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #5 About How Plugin Files Works in Boilerplate
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #5 About How Plugin Files Works in Boilerplate
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
ABOUT FOLDERS AND FILES OF BOILERPLATE FRAMEWORK
admin =
All Admin panel related operations.
a) Creating menus & submenus
b) Development of plugin form layouts at admin and their development sections.
c) Linking of assets of plugin at admin.
assets =
Common assets of admin panel & front-end.
Example:
a) let's say a loader in css we want to use in both panels
b) Some styles which are common to both ends.
Such type of common assets and their properties go here.
includes =
a) Plugin Intialization or loading all plugin files
b) Hooks & filters Intialization - Load all admin & public hooks
c) Table activation, deactivation, creating pages and ...
languages =
a) Storage of Plugin Translation files
public =
All Front-end panel related operations.
a) Manage front-end pages & their templates
b) Development of plugin form layouts for front-end.
c) Linking of assets of plugin for front-end.
plugin-file.php =
a) Plugin Main file which runs when plugin activates
b) It runs when any action will be performed to this plugin
c) It loads main functions of plugin
README.txt
a) All about plugin documentation.
b) Manage Plugin document for public URL from here.
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #6 Plugin Installation | Create Plugin Menu
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #6 Plugin Installation | Create Plugin Menu
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
Document to study
https://developer.wordpress.org/reference/functions/add_menu_page/
add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
For Dashicons
https://developer.wordpress.org/resource/dashicons/
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #7 Create Plugin Sub Menus at Admin Panel
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #7 Create Plugin Sub Menus at Admin Panel
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
Document to study
https://developer.wordpress.org/reference/functions/add_submenu_page/
add_submenu_page( string $parent_slug, string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', int $position = null )
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #8 Duplicate Menu Label Issue Fix in Plugins
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #8 Duplicate Menu Label Issue Fix in Plugins
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #9 Understand & Use $wpdb Global Object Wordpress
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #9 Understand & Use $wpdb Global Object Wordpress
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
SOME BASIC IDEA ABOUT $wpdb OBJECT AND ITS CLASS FILE
===========================================================
For performing database operations WordPress provides a class wpdb which is present in the
file – wp-includes\wp-db.php. This class abstracts the database functions for WordPress
and most WordPress functions directly or indirectly use this class.We can create an object
of this class to perform database operations but WordPress creates an object of this class
during the load of WordPress.
This object is $wpdb and is a global object. So in case we want to perform any database
operation we should use this global $wpdb object and call functions on them.
By the help of $wpdb Object we can perform all types of operations like in CRUD
SYNTAX TO USE GLOBAL $wpdb OBJECT
==========================================
function my_function() {
global $wpdb;
//..................
//Some Operation on database using $wpdb
//..................
}
Get Data from Database
========================================
There are a lot of functions on $wpdb to fetches values from the database. Some of these
functions are specialized to get one value, one row or one column from the database table.
1. get_var()
========================
The get_var function takes in a query and returns one value which can be directly
assigned to a variable.
2. get_row
========================
This method is useful to get a complete row from a query. This method takes in a query
and also takes a parameter to indicate in which format the output should be.
The first parameter to get_row is a query and the second parameter can be one of the
following values
OBJECT ( this is the default value ) – In this case the object is an objects with the
columns of the table as the members of the object.
ARRAY_A – In this case the result is returned in for of an associative array.
ARRAY_N – in this case the result is in for of an numerically indexed array.
3. get_col
========================
This method is useful to get one column from a query. The output of this function is
an array.
4. get_results
========================
This method is used to get an output of a generic query which has output as multiple
rows and multiple columns. The default output for this function is array of objects in
which each object represents one row of the result.
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #10 $wpdb Get Data Methods | get_col, get_results
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #10 $wpdb Get Data Methods | get_col, get_results
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
Get Data from Database
========================================
There are a lot of functions on $wpdb to fetches values from the database. Some of these
functions are specialized to get one value, one row or one column from the database table.
3. get_col
========================
This method is useful to get one column from a query. The output of this function is
an array.
4. get_results
========================
This method is used to get an output of a generic query which has output as multiple
rows and multiple columns. The default output for this function is array of objects in
which each object represents one row of the result.
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #11 Prepare Methods of Wordpress | $wpdb prepare
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #11 Prepare Methods of Wordpress | $wpdb prepare
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
Prepared Method with $wpdb Query
==================================
Sometimes we might take some data from the user in case of a form or something else
and make it as a part of the query. This can cause problems in case there is SQL
injection on the query. In SQL injection the attacker injects a query in a forms
value which you will use to create a database query. This queries can be as hazardous
as dumping the complete database to deleting the database.
The wpdb prepare method should be used to protect oner against SQL injection. The
prepare method is very similar to the printf method which takes in a query and then
parameter values to be substituted.
$wpdb-get_results(
$wpdb-prepare("Query with placeholders %s %d", [value1], [value2])
);
%s = For String values
%d = For Integer values
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂 -
Boilerplate Wordpress Plugin Development Tutorials #12 $wpdb Insert,Update, Delete, Raw Query Method
In this video we'll see:
Boilerplate Wordpress Plugin Development Tutorials #12 $wpdb Insert,Update, Delete, Raw Query Method
#wordpresspluginboilerplate
#pluginboilerplatewordpress
#wordpresscustomization
#plugindevelopment
#wordpressplugindevelopment
#wordpressplugin
#wordpresspluginframework
Global $wpdb Insert, Update, Delete Methods
===============================================
1. Insert Method
Syntax:
$wpdb-insert(table_name, array(values));
Example:
$wpdb-insert("[table_name]", array(
"col1" = "val1",
"col2" = "val2",
"col3" = "val3",
...
));
2. Update Method
Syntax:
$wpdb-update(table_name, array(values), array(conditions));
Example:
$wpdb-update("[table_name]", array(
"col1" = "val1",
"col2" = "val2",
"col3" = "val3",
...
), array("condition1" = "value1", "condition2" = "value2"));
3. Delete Method
Syntax:
$wpdb-delete(table_name, array(conditions));
Example:
$wpdb-delete("[table_name]", array(
"condition1" = "value1",
...
));
SOCIAL :
===============
Subscribe : https://www.youtube.com/owthub
FACEBOOK : https://www.facebook.com/owthub
TWITTER: https://twitter.com/owthub
BLOG: https://onlinewebtutorhub.blogspot.in/
UDEMY: https://www.udemy.com/user/online-web-tutor
Other Tutorials
===============
Wordpress Customizations:
---------------------------------
Wordpress Theme (Hindi): https://goo.gl/MZ8maF
Wordpress Widget (Hindi): https://goo.gl/Dc2htn
Wordpress Plugin (English): https://goo.gl/BA7dYG
Wordpress Theme Options (English): https://goo.gl/Vjv3Ub
Wordpress JSON Rest API (English): https://goo.gl/SVQRQR
Wordpress JSON Rest API (Hindi): https://goo.gl/NNWfKa
and many more...
Javascript framework:
----------------------------------
Learn backbone.js here! (English) : https://goo.gl/Qd2Pcs
Learn Vue JS here ! (Hindi): https://goo.gl/MVtsmh
PHP Frameworks:
----------------------------------
Laravel tutorial (Hindi): https://goo.gl/Nh9qJk
CakePHP tutorial (Hindi): https://goo.gl/uRsS3G
Tags:
----------------------------------
Wordpress Plugin Development using boilerplate tutorial for beginners step by step,
Wordpress Plugin Development using boilerplate tutorial,
Wordpress Plugin Development using boilerplate tutorial in hindi,
Wordpress Plugin Development using boilerplate,
Wordpress Plugin Development using boilerplate for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorial for beginners,
Wordpress Plugin Development using boilerplate tutorials guide,
learn Wordpress Plugin Development using boilerplate framework step by step,
learn Wordpress Plugin Development using boilerplate from scratch,
Developing Plugins With WordPress Boilerplates: Building a Plugin,
WordPress Plugin Boilerplate,
WordPress Plugin Development for Beginners: Developing a Plugin,
Get started with the WordPress Plugin Boilerplate,
The WordPress Plugin Boilerplate,
online web tutor,
profotech solutions,
Thanks
Online Web Tutor
Keep learning and Sharing 🙂