SlideShare a Scribd company logo
How to start Building Maintainable
WordPress Plugins right way
SHAHJAHAN JEWEL
Me?
‣ Working @authLab
‣ WordPress Enthusiast
‣ Author of Several WP Plugins & Themes
‣ Opensource Contributor
‣ In Love with WordPress for last 7 years
WHY WORDPRESS?
‣ Simple but Powerful
‣ More than 33% of web powered by it
‣ Billions of $ Economy
‣ You are the limit not WordPress
‣ ….
A LITTLE HISTORY
‣ 2001 - b2 cafelog launched by Michel Valdrighi.
‣ 2003 - Matt Mullenweg and Mike Little fork b2 and create
WordPress
‣ 2004 - First Plugin released
‣ 2019 - Here you are!
IT’S ALL ABOUT
HOOKS!
John Doe
HOW PLUGINS WORK
HOOKS! WHAT’S THAT?
‣ Hi, I am making pens! You want to do something? [action]
‣ Hi, These are my pens, You want to modify these? [filter]
TOOLS AND LANGUAGES
‣ Object Oriented PHP
‣ WordPress Codex and Built-in functions and hooks
‣ Make Javascript in your friend for building awesome things
‣ Learn VueJS/ReactJS
‣ Build something
‣ Read WP Core Files
RESOURCES
‣ WordPress Plugin Handbook
https://developer.wordpress.org/plugins/
‣ Hooks Reference:
https://codex.wordpress.org/Plugin_API/Hooks
‣ Developer Resources: https://developer.wordpress.org/
‣ Read source code of existing plugins
THINGS TO KNOW
‣ Don’t be evil
‣ Always use prefix
‣ Be respectful
‣ Keep things clean
‣ Think as end user not as a developer
‣ Invest in yourself
‣ Keep learning
THE BEST WAY TO LEARN TO
LOOK AT OTHER PEOPLE’S CODE
AND IN THE WP CODEX
LifeExperience
ONE LAST THING - WE ARE HIRING
Visit: https://authlab.io/jobs
LET’S DISCUSS

More Related Content

What's hot

ARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: RolloversARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: Rollovers
Gilbert Guerrero
 
Moz Cafe December 2012
Moz Cafe December 2012Moz Cafe December 2012
Moz Cafe December 2012
Vivek Kiran
 
Class 1 handout (1) aptana create a new presentation and stylesheet
Class 1 handout (1) aptana  create a new presentation and stylesheetClass 1 handout (1) aptana  create a new presentation and stylesheet
Class 1 handout (1) aptana create a new presentation and stylesheet
Erin M. Kidwell
 
Baawjsajq109
Baawjsajq109Baawjsajq109
Baawjsajq109
Thinkful
 

What's hot (20)

What to include in a boilerplate theme
What to include in a boilerplate themeWhat to include in a boilerplate theme
What to include in a boilerplate theme
 
jQuery
jQueryjQuery
jQuery
 
ARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: RolloversARTDM 170, Week 3: Rollovers
ARTDM 170, Week 3: Rollovers
 
Advanced custom fields in Wordpress
Advanced custom fields in WordpressAdvanced custom fields in Wordpress
Advanced custom fields in Wordpress
 
WPCampus Online - The Case for the WordPress REST API
WPCampus Online - The Case for the WordPress REST APIWPCampus Online - The Case for the WordPress REST API
WPCampus Online - The Case for the WordPress REST API
 
Mozcafe, Hyderabad, India, December, 2012
Mozcafe, Hyderabad, India, December, 2012Mozcafe, Hyderabad, India, December, 2012
Mozcafe, Hyderabad, India, December, 2012
 
Moz Cafe December 2012
Moz Cafe December 2012Moz Cafe December 2012
Moz Cafe December 2012
 
Professional WordPress Workflow - WPDay 2015
Professional WordPress Workflow - WPDay 2015 Professional WordPress Workflow - WPDay 2015
Professional WordPress Workflow - WPDay 2015
 
Empathetc Development
Empathetc DevelopmentEmpathetc Development
Empathetc Development
 
Class 1 handout (1) aptana create a new presentation and stylesheet
Class 1 handout (1) aptana  create a new presentation and stylesheetClass 1 handout (1) aptana  create a new presentation and stylesheet
Class 1 handout (1) aptana create a new presentation and stylesheet
 
Frameworks for Web Development
Frameworks for Web DevelopmentFrameworks for Web Development
Frameworks for Web Development
 
ITB2016 Converting Legacy Apps into Modern MVC
ITB2016 Converting Legacy Apps into Modern MVCITB2016 Converting Legacy Apps into Modern MVC
ITB2016 Converting Legacy Apps into Modern MVC
 
Building a JavaScript App powered by WordPress & AngularJS
Building a JavaScript App powered by WordPress & AngularJSBuilding a JavaScript App powered by WordPress & AngularJS
Building a JavaScript App powered by WordPress & AngularJS
 
Never Launch without Training
Never Launch without TrainingNever Launch without Training
Never Launch without Training
 
Mozilla Thimble
Mozilla ThimbleMozilla Thimble
Mozilla Thimble
 
Word press beirut 23st meetup may
Word press beirut 23st meetup   mayWord press beirut 23st meetup   may
Word press beirut 23st meetup may
 
Pitch Perfect: Agency Secrets to Winning More Business
Pitch Perfect: Agency Secrets to Winning More BusinessPitch Perfect: Agency Secrets to Winning More Business
Pitch Perfect: Agency Secrets to Winning More Business
 
Baawjsajq109
Baawjsajq109Baawjsajq109
Baawjsajq109
 
WordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshopWordCamp Birmingham 2015 - Theme building workshop
WordCamp Birmingham 2015 - Theme building workshop
 
Auckland WordPress May Introduction Slides
Auckland WordPress May Introduction SlidesAuckland WordPress May Introduction Slides
Auckland WordPress May Introduction Slides
 

Similar to Word press plugin development

Blogging With Wordpress By Prakriti
Blogging With Wordpress By PrakritiBlogging With Wordpress By Prakriti
Blogging With Wordpress By Prakriti
Techberries
 

Similar to Word press plugin development (20)

Front-end Web Dev (HK) Info Session
Front-end Web Dev (HK) Info SessionFront-end Web Dev (HK) Info Session
Front-end Web Dev (HK) Info Session
 
Let's make a website together - an introduction to WordPress
Let's make a website together - an introduction to WordPressLet's make a website together - an introduction to WordPress
Let's make a website together - an introduction to WordPress
 
Using Page Builders For Fun And Profit
Using Page Builders For Fun And ProfitUsing Page Builders For Fun And Profit
Using Page Builders For Fun And Profit
 
Do WordPress developers write code?
Do WordPress developers write code?Do WordPress developers write code?
Do WordPress developers write code?
 
Basic web page designing
Basic web page designingBasic web page designing
Basic web page designing
 
Software craftsmanship
Software craftsmanshipSoftware craftsmanship
Software craftsmanship
 
Introduction to Wordpress
Introduction to WordpressIntroduction to Wordpress
Introduction to Wordpress
 
How to create blog for free
How to create blog for freeHow to create blog for free
How to create blog for free
 
GitLab Frontend and VueJS at GitLab
GitLab Frontend and VueJS at GitLabGitLab Frontend and VueJS at GitLab
GitLab Frontend and VueJS at GitLab
 
Blogging With Wordpress By Prakriti
Blogging With Wordpress By PrakritiBlogging With Wordpress By Prakriti
Blogging With Wordpress By Prakriti
 
Difference Between WordPress and PHP Websites.pdf
Difference Between WordPress and PHP Websites.pdfDifference Between WordPress and PHP Websites.pdf
Difference Between WordPress and PHP Websites.pdf
 
937079
937079937079
937079
 
Sample You Tube tutorial for Drupal
Sample You Tube tutorial for DrupalSample You Tube tutorial for Drupal
Sample You Tube tutorial for Drupal
 
WordPress on Amazon Web Services Meetup
WordPress on Amazon Web Services Meetup WordPress on Amazon Web Services Meetup
WordPress on Amazon Web Services Meetup
 
Word press beirut December 4 Meetup - Gutenberg VS WP-Bakery
Word press beirut December 4 Meetup - Gutenberg VS WP-Bakery Word press beirut December 4 Meetup - Gutenberg VS WP-Bakery
Word press beirut December 4 Meetup - Gutenberg VS WP-Bakery
 
Creating A Remarkable User Experience
Creating A Remarkable User Experience Creating A Remarkable User Experience
Creating A Remarkable User Experience
 
UCSY CS Club Week1
UCSY CS Club Week1UCSY CS Club Week1
UCSY CS Club Week1
 
Codecinella / Using CodePen to learn, prototype and inspire the front end
Codecinella / Using CodePen to learn, prototype and inspire the front endCodecinella / Using CodePen to learn, prototype and inspire the front end
Codecinella / Using CodePen to learn, prototype and inspire the front end
 
Basic web dveleopers terms for UX and graphic designers
Basic web dveleopers terms for UX and graphic designersBasic web dveleopers terms for UX and graphic designers
Basic web dveleopers terms for UX and graphic designers
 
Workshop
WorkshopWorkshop
Workshop
 

Recently uploaded

Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
Safe Software
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Peter Udo Diehl
 

Recently uploaded (20)

Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
The architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdfThe architecture of Generative AI for enterprises.pdf
The architecture of Generative AI for enterprises.pdf
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 
UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1UiPath Test Automation using UiPath Test Suite series, part 1
UiPath Test Automation using UiPath Test Suite series, part 1
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo DiehlFuture Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
Future Visions: Predictions to Guide and Time Tech Innovation, Peter Udo Diehl
 
Introduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG EvaluationIntroduction to Open Source RAG and RAG Evaluation
Introduction to Open Source RAG and RAG Evaluation
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Powerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara LaskowskaPowerful Start- the Key to Project Success, Barbara Laskowska
Powerful Start- the Key to Project Success, Barbara Laskowska
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 

Word press plugin development

  • 1. How to start Building Maintainable WordPress Plugins right way
  • 2. SHAHJAHAN JEWEL Me? ‣ Working @authLab ‣ WordPress Enthusiast ‣ Author of Several WP Plugins & Themes ‣ Opensource Contributor ‣ In Love with WordPress for last 7 years
  • 3. WHY WORDPRESS? ‣ Simple but Powerful ‣ More than 33% of web powered by it ‣ Billions of $ Economy ‣ You are the limit not WordPress ‣ ….
  • 4. A LITTLE HISTORY ‣ 2001 - b2 cafelog launched by Michel Valdrighi. ‣ 2003 - Matt Mullenweg and Mike Little fork b2 and create WordPress ‣ 2004 - First Plugin released ‣ 2019 - Here you are!
  • 5.
  • 6.
  • 7.
  • 8.
  • 9. IT’S ALL ABOUT HOOKS! John Doe HOW PLUGINS WORK
  • 10. HOOKS! WHAT’S THAT? ‣ Hi, I am making pens! You want to do something? [action] ‣ Hi, These are my pens, You want to modify these? [filter]
  • 11.
  • 12.
  • 13.
  • 14. TOOLS AND LANGUAGES ‣ Object Oriented PHP ‣ WordPress Codex and Built-in functions and hooks ‣ Make Javascript in your friend for building awesome things ‣ Learn VueJS/ReactJS ‣ Build something ‣ Read WP Core Files
  • 15. RESOURCES ‣ WordPress Plugin Handbook https://developer.wordpress.org/plugins/ ‣ Hooks Reference: https://codex.wordpress.org/Plugin_API/Hooks ‣ Developer Resources: https://developer.wordpress.org/ ‣ Read source code of existing plugins
  • 16. THINGS TO KNOW ‣ Don’t be evil ‣ Always use prefix ‣ Be respectful ‣ Keep things clean ‣ Think as end user not as a developer ‣ Invest in yourself ‣ Keep learning
  • 17. THE BEST WAY TO LEARN TO LOOK AT OTHER PEOPLE’S CODE AND IN THE WP CODEX LifeExperience
  • 18. ONE LAST THING - WE ARE HIRING Visit: https://authlab.io/jobs