WordPress plugin development
Plugin Development
A peek into the world of WordPress plugin development
Rakesh Lawaju Abiral Neupane Regan Khadgi
WordCamp Nepal 2015
rakeshlawaju@gmail.com abiral.neupane@gmail.com regan.khadgi1@gmail.com
WordPress plugin & it’s usages?
WordPress plugins are bits of software that can be uploaded to extend and
expand the functionality of your WordPress site.
- Register post type & taxonomy
- Shortcodes
- Ecommerce feature
- Sliders and gallery
- and many more
Let’s start
Draw roadmap
Think outside the box
Get a unique name
Files and folder structure
Coding standard
Custom tables?
Don’t forget about security
Extensibility
Translation ready
Draw roadmap
Failing to plan is planning to fail.
Images Designed by Freepik
Think outside the box
Give user some unique feature because there are almost 50000 plugins in
WordPress.org
Get a unique name
Because the name matters.
Files and folder structure
Keep it simple, keep it clean
A plugin can a single .php file or it can be a folder with its main file and other
additional required files and folder
Coding standard
There are some rules, it's good to follow.
- Single and Double Quotes
- Indentation
- Brace Style
- No Shorthand PHP Tags
- Space Usage
https://codex.wordpress.org/WordPress_Coding_Standards
Custom tables?
Think before you add custom tables.
Try to use default WordPress database table, as it might be enough to manage
your data. So that you won't have to create extra methods to manage data.
Don’t forget about security
- Validating and sanitizing is must when user submits data to WordPress,
data is imported from an external feed, or data comes into WordPress
- To prevent issues like Cross-site scripting (XSS) make sure that output are
escaped like post title, post meta value, or some other data from the
database
- Prevent an unauthorized person from changing your plugin’s settings or
performing actions they are not authorized to perform.
WordPress offers two ways: nonces and capability
checks.
Image from https://pixabay.com/p-538715/
Extensibility
Plugin should allow developers to easily tie their own code.
Translation ready
Don't lose your potential user
How you are offering your plugin?
After you have successfully developed a plugin it can be offered in many ways to
the users. Some of them are:
- Free
- Freemium
- Premium
The sky's the limit
and let’s give back to community
Hope you
found it useful Thank you!

More Related Content

PPTX
Better WordPress Theme Development Workflow
PPTX
The Ultimate WordPress Development Environment
PDF
Building a community of Open Source intranet users
PDF
Coding with jetpack
PPTX
Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
PPTX
Welcome to the World of WordPress
PDF
Building SaaS with WordPress - WordCamp Netherlands 2016
PPTX
WordPress Multilingual: WordCamp Antwerp 2016
Better WordPress Theme Development Workflow
The Ultimate WordPress Development Environment
Building a community of Open Source intranet users
Coding with jetpack
Finding Useful Plugins: How To Extend WordPress Past a Simple Blog
Welcome to the World of WordPress
Building SaaS with WordPress - WordCamp Netherlands 2016
WordPress Multilingual: WordCamp Antwerp 2016

What's hot (19)

PPTX
Word press sites maintenanace
PDF
WordPress as a Service
PPTX
WordPress in 90 minutes
PPTX
I Can Haz More Performanz?
PPTX
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
PPTX
Top 10 WordPress Plugins
PPTX
Multisite core concepts final
PPTX
The Next Step in Responsive - RESS
PDF
Internationalizing The New York Times
PPTX
Choosing WordPress Plugins (WordCamp Raleigh 2016)
PPTX
WordPress Course Outline
PDF
The WP Engine Developer Experience. Increased agility, improved efficiency.
PDF
Create a newsletter in less than 17 minutes without writing a single word
PDF
GlotPress aka translate.wordpress.org
PDF
Client-friendly WordPress Websites
PPTX
Top 8 Tools To Optimize Your Work Day!
KEY
WordPress Melbourne June Meetup
PPT
Week 11 - Hosting and Migration
PPTX
Stop Coding; Start Assembling Your Websites
Word press sites maintenanace
WordPress as a Service
WordPress in 90 minutes
I Can Haz More Performanz?
WordPress Insider Meetup Group - Jan, 7, 2016 meeting
Top 10 WordPress Plugins
Multisite core concepts final
The Next Step in Responsive - RESS
Internationalizing The New York Times
Choosing WordPress Plugins (WordCamp Raleigh 2016)
WordPress Course Outline
The WP Engine Developer Experience. Increased agility, improved efficiency.
Create a newsletter in less than 17 minutes without writing a single word
GlotPress aka translate.wordpress.org
Client-friendly WordPress Websites
Top 8 Tools To Optimize Your Work Day!
WordPress Melbourne June Meetup
Week 11 - Hosting and Migration
Stop Coding; Start Assembling Your Websites
Ad

Similar to WordPress plugin development (20)

PDF
Wordpress Plugin Development Short Tutorial
PDF
5 Steps to Develop a WordPress Plugin From Scratch.pdf
PDF
Write your first WordPress plugin
PDF
Plugin Development for Beginners v.2019
PDF
Plugin Development for Beginners
PDF
Extending WordPress - a guide to building your first plugin
PDF
Wordpress plugin development tips
PDF
What is-word press-plugin-development
PDF
Test ss 2
PDF
Bending word press to your will
PPT
WordPress plugins
KEY
Intro to WordPress Plugins
PPTX
Wordcamp2012 build your plugin
PPTX
A peek into the world of WordPress plugin development
PDF
Wordpress plugin
PDF
Wordpress as a framework
PPT
WordPress basic fundamental of plugin development and creating shortcode
PDF
Write Your First WordPress Plugin
PPTX
WordPress Plugin Development
KEY
Plugin Development Practices
Wordpress Plugin Development Short Tutorial
5 Steps to Develop a WordPress Plugin From Scratch.pdf
Write your first WordPress plugin
Plugin Development for Beginners v.2019
Plugin Development for Beginners
Extending WordPress - a guide to building your first plugin
Wordpress plugin development tips
What is-word press-plugin-development
Test ss 2
Bending word press to your will
WordPress plugins
Intro to WordPress Plugins
Wordcamp2012 build your plugin
A peek into the world of WordPress plugin development
Wordpress plugin
Wordpress as a framework
WordPress basic fundamental of plugin development and creating shortcode
Write Your First WordPress Plugin
WordPress Plugin Development
Plugin Development Practices
Ad

Recently uploaded (20)

PPTX
CNN LeNet5 Architecture: Neural Networks
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PDF
Visual explanation of Dijkstra's Algorithm using Python
PDF
Cost to Outsource Software Development in 2025
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PDF
Types of Token_ From Utility to Security.pdf
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
iTop VPN Crack Latest Version Full Key 2025
DOCX
How to Use SharePoint as an ISO-Compliant Document Management System
PPTX
Trending Python Topics for Data Visualization in 2025
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PDF
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PPTX
Introduction to Windows Operating System
PPTX
Tech Workshop Escape Room Tech Workshop
PDF
Microsoft Office 365 Crack Download Free
PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PPTX
Monitoring Stack: Grafana, Loki & Promtail
CNN LeNet5 Architecture: Neural Networks
CCleaner 6.39.11548 Crack 2025 License Key
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
Visual explanation of Dijkstra's Algorithm using Python
Cost to Outsource Software Development in 2025
How Tridens DevSecOps Ensures Compliance, Security, and Agility
Types of Token_ From Utility to Security.pdf
Why Generative AI is the Future of Content, Code & Creativity?
iTop VPN Crack Latest Version Full Key 2025
How to Use SharePoint as an ISO-Compliant Document Management System
Trending Python Topics for Data Visualization in 2025
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
The Dynamic Duo Transforming Financial Accounting Systems Through Modern Expe...
Wondershare Recoverit Full Crack New Version (Latest 2025)
Introduction to Windows Operating System
Tech Workshop Escape Room Tech Workshop
Microsoft Office 365 Crack Download Free
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Monitoring Stack: Grafana, Loki & Promtail

WordPress plugin development

  • 2. Plugin Development A peek into the world of WordPress plugin development Rakesh Lawaju Abiral Neupane Regan Khadgi WordCamp Nepal 2015 rakeshlawaju@gmail.com abiral.neupane@gmail.com regan.khadgi1@gmail.com
  • 3. WordPress plugin & it’s usages? WordPress plugins are bits of software that can be uploaded to extend and expand the functionality of your WordPress site. - Register post type & taxonomy - Shortcodes - Ecommerce feature - Sliders and gallery - and many more
  • 4. Let’s start Draw roadmap Think outside the box Get a unique name Files and folder structure Coding standard Custom tables? Don’t forget about security Extensibility Translation ready
  • 5. Draw roadmap Failing to plan is planning to fail. Images Designed by Freepik
  • 6. Think outside the box Give user some unique feature because there are almost 50000 plugins in WordPress.org
  • 7. Get a unique name Because the name matters.
  • 8. Files and folder structure Keep it simple, keep it clean A plugin can a single .php file or it can be a folder with its main file and other additional required files and folder
  • 9. Coding standard There are some rules, it's good to follow. - Single and Double Quotes - Indentation - Brace Style - No Shorthand PHP Tags - Space Usage https://codex.wordpress.org/WordPress_Coding_Standards
  • 10. Custom tables? Think before you add custom tables. Try to use default WordPress database table, as it might be enough to manage your data. So that you won't have to create extra methods to manage data.
  • 11. Don’t forget about security - Validating and sanitizing is must when user submits data to WordPress, data is imported from an external feed, or data comes into WordPress - To prevent issues like Cross-site scripting (XSS) make sure that output are escaped like post title, post meta value, or some other data from the database - Prevent an unauthorized person from changing your plugin’s settings or performing actions they are not authorized to perform. WordPress offers two ways: nonces and capability checks. Image from https://pixabay.com/p-538715/
  • 12. Extensibility Plugin should allow developers to easily tie their own code.
  • 13. Translation ready Don't lose your potential user
  • 14. How you are offering your plugin? After you have successfully developed a plugin it can be offered in many ways to the users. Some of them are: - Free - Freemium - Premium
  • 15. The sky's the limit and let’s give back to community
  • 16. Hope you found it useful Thank you!