What is wordpress hook, action and filter

Hooks are provided by WordPress and are used to modify or add functionality to the core system of WordPress. Like the term ‘hook’, WordPress hook allow our plugin to ‘hook

Read More

Remove an element from an array in JavaScript

Javascript useful codes In time of web development web developers are facing several issues in string , array time loop etc, I am writing some of frequently arrived issues regarding

Read More

How to get the selected option text of select box in jQuery

<html> <head> <title>How to get the selected option text of select box in jQuery</title> <script src=”https://ajax.aspnetcdn.com/ajax/jQuery/jquery-3.2.1.min.js”></script> </head> <body> <div>How to get the selected option text of select box in jQuery</div>

Read More

Object-Oriented programming in javascript

Object-Oriented programming Object-Oriented programming is a programming paradigm  based on concept of a objects, that uses abstraction to create model based on real world. It is a model organized around

Read More

Useful linux command

linux command ls linux Command ls command display list of files. #ls Whoami linux Command whoami command print the name of current user. # whoami Who Command who command simply

Read More

What is a Cron Job?

Cron is a standard Linux command that allows you to schedule tasks to be executed sometime in the future or in some interval. This is normally used to schedule a

Read More

Useful MySql statement and commands

how to create a database in mysql  create database [database name]; how to List all databases on the server. show databases; How to switch to a perticular database. use [db

Read More