WordPress Plugin Development tutorial from scratch (Part 31) "My Book" Plugin Insert/Show Data #8

In this video session we will discuss about “My Book” Plugin,
1. Save form data to database table of plugin
2. Show Database table Book’s detail to plugin page

Make Ajax handler function

submitHandler: function() {
var postdata = “action=mybooklibrary&param=save_book&” + jQuery(“#frmAddBook”).serialize();
var data = jQuery.parseJSON(response);


function my_book_ajax_handler(){
global $wpdb;
// save data to db table
“book_image”=$_REQUEST[‘image_name’] ));
echo json_encode(array(“status”=1,”message”=”Book created successfully”));

Get data from Table
global $wpdb;
$all_books = $wpdb-get_results(
“SELECT * from ” . my_book_table() . ” ORDER by id DESC”, “”

Watch these also:
Table Create/Drop:
Plugin Internal Pages:
Plugin Form validations & media upload:

To add an administration menu
Please Watch for help:

To add an administration submenus:
Please Watch for help:

Important Videos from Plugin Development Series
About Shortcodes in wordpress:
Ajax Request in wordpress by wp_ajax_{action_name}:
Insert data from form to wordpress database table:
Create WordPress page on Plugin Activation:

Subscribe :

1. Some knowledge of PHP, HTML for this video series
2. How to Install WordPress:

Also you can learn WordPress Custom
Theme Development:
Widget Development:
Theme Options Development:

online web tutor,
profotech solutions,
wordpress plugin development from scratch in hindi,
wordpress plugin development from scratch in easy steps,
wordpress plugin development,
wordpress plugin development in easy steps,
plugin development in wordpress from scratch in hindi,
plugin development in wordpress by online web tutor,
plugin development in wordpress tutorials from scratch in hindi,
plugin theme development tutorials in hindi,
plugin development tutorials in hindi,
owt tuts,
online web tutorials,

Online Web Tutor
Keep learning and Sharing 🙂

Please watch: “Learn backbone.js tutorial from scratch”


Fuente – Source

Wordpress Plugin Development tutorial from scratch (Part 31) "My Book" Plugin Insert/Show Data #8

Necesitas ayuda con wp? Entonces WPVideo es tu sitio.
Encuentra lo que buscas entre cientos de miles de videos y experiencias personales de otros usuarios. Todos los que empezamos con wp deberíamos tener acceso a esta web, ojalá yo hubiera tenido algo así cuando empecé mi camino como webmaster 🙂
Pero ahora quiero y puedo poner esta web a vuestra disposición.
Disfrutadla 😉

Need help with wp? Then WPVideo is your site.
Find what you are looking for among hundreds of thousands of videos and personal experiences of other users. All of us who started with wp should have access to this website, I wish I had something like that when I started my journey as webmaster 🙂
But now I want and I can put this website at your disposal.
Enjoy it 😉


Publicado en Bases de datos (Databases), Plugins, Temas (Themes), Tutoriales (Tutorials), Wordpress y etiquetado .

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *