Skip to main content

WordPress plugin development tutorial in Urdu/Hindi Basic concept.

Welcome To Programming Tech #Create_Plugin_From_Scratch_Wordpress

WordPress plugin development tutorial Part1

Click Here For WordPress and Woo Commerce plugin development tutorial
What is WordPress Plugin?
It is a separate set of files that create a feature enhancement to the core WordPress files that run your WordPress.The plugin may have one functionality or some extension is more than one action perform.

Programming Language used in the plugin development?

WordPress plugins are made up of PHP code and can include other assets such as images, CSS for styling the form and other content, ajax, and JavaScript.The core language of the WordPress plugin in PHP.

What is Hooks in WordPress?

Hooks are one line of code to interact/modify another piece of code at a specific point, pre-defined spots. They make up the inspiration for a way plugins and themes interact with WordPress Core, but they’re also used extensively by Core itself.

e.g Add some function after add to cart.
add_action( 'woocommerce_after_add_to_cart_button',  'Your function name' , perority(e.g 10) );

Types of hooks in WordPress.
Two types of hooks.
1. Actions

Allow you to feature data or change how WordPress operates. Callback functions for Actions will run at a selected point within the execution of WordPress and may perform a few tasks, like echoing text after adding to cart or inserting data into the database. Actions don't return anything back to the calling hook.

2. Filters

a filter takes the data it receives, modifies it somehow, and returns it. In other words: it filters something and passes it back to the hook for further use.

WordPress plugin coding standards.

WordPress PHP Coding Standards
WordPress HTML Coding Standards.
WordPress CSS Coding Standards.
WordPress JavaScript Coding Standards.





Tags:
WordPress database structure. create a plugin from scratch WordPress.
Programming Language used in plugin development, Programming Approach used in plugin developing,

Comments

Popular posts from this blog

Filmora 9 2019 KeyList| How to Download |Latest Version|and Install Filmora 9 2019 With Full Activation

How to Download |Latest Version|and Install Filmora 9 2019 With Full Activation Urdu/Hindi https://youtu.be/GRUh9YalWNA For Filmore 9 keys List : Click here Instructions: * Add above lines. * Install software. * Disable internet. * Replace files. * Click Help / Offline Activation Menu. Add this dummy reg info: Email: asd@mail.com Key: 46E41D2824D6BA1376E2B1181425DC0B * Close app. Enable internet connection now and re-launch. PS: If you want to use it in an environment without any internet, re-launch, at launch and clicking Export it will show Activated Copy message, click OK, it will proceed. Changes: * No watermark on output videos. * Offline activation menu will be locked showing dummy data above. * Nag removed in fully offline use. =================

MATLAB R2020b Crack With Serial Key Free Download with Installation method

  MATLAB R2020b Crack With Serial Key Free Download How to install with Crack? First, download Matlab Crack from the link below. Then, disconnect your computer from the Internet. Now, complete the installation process. Copy and paste the crack file from the downloaded folder into the program file. Run it on your system. Finally, run it at any time and enjoy it freely. Serial Keys SDR4-ZXT5-BHY6-QWE4 BHY6-OKP5-BHG6-ZXD5 ERT3-BNZ5-MKO9-ASDH License Keys VF47-VGT2-DKP8-QWYZ CFR6-BHW5-MYR8-ZDTY Activation Keys NHU5-DVKP-ZCN7-WRYU VFT6-BHF5-PLA8-BCW3 Product KeyS AQW3-MND3-IOGY-XCV9 CVU8-OKU8-BNJY-FGVW System Requirements: RAM: You will need a minimum of 4GB of temporary storage. HDD: It needs 2.5 GB of Disk Space. Graphics: High-quality graphics needed. Connection: High-Speed Internet Connection. Processor: It will run on Intel or AMD x64 & x86 with 4 logical cores. Window: It may run on Win 8, 8.1, 7, 10, and XP, Vista. Download Matlab 2020B with crack:  Click Here

How to find Connected Wifi Password In Laptop/System Windows