Wordpress Hooks (Actions & Filters) Explained

Поділитися
Вставка
  • Опубліковано 11 кві 2023
  • Learn what hooks are and how to use them with real examples
    To Download Membership by PluginsCorner:
    FREE: wordpress.org/plugins/pluco-m... or pluginscorner.com/free-regist...
    PRO Version: pluginscorner.com/pluco-membe...
    Installing Wordpress with Docker:
    • Install Wordpress on l...
    Get Started with Theme Development (Playlist):
    • Getting Started With y...
    Chapters:
    00:00 Intro
    Thank you for watching. Any feedback is greatly appreciated. Don't forget to like and subscribe if you like this content.
  • Наука та технологія

КОМЕНТАРІ • 17

  • @Assignmentt
    @Assignmentt 5 місяців тому +4

    Your WordPress tutorials are fantastic! 🚀 As a PHP developer, I'm eager to learn WordPress development from scratch, focusing on coding rather than frontend design. Could you please create tutorials tailored for aspiring developers like me who want to start from the basics and learn everything from scratch? Your expertise would be invaluable. Thank you! 💻

  • @markperrycr02
    @markperrycr02 7 місяців тому

    Very helpful video for someone trying to understand WordPress hooks! Thank you!👍

  • @xaiver3612
    @xaiver3612 6 місяців тому

    what a great explanation, you can simplify subjects, you are good, thank you :)

  • @user-zd9to7xi9m
    @user-zd9to7xi9m 9 місяців тому

    Thank you so much , i am doing wordpress developing for 2 years , you are the first one who clear my confusion between action and filter hook , Thanks again sir

    • @howToDev
      @howToDev  6 місяців тому +1

      You're most welcome.

  • @taktak7980
    @taktak7980 10 місяців тому +1

    Thank you, finally someone who can explain

    • @howToDev
      @howToDev  6 місяців тому

      Thank you for you kind reply

  • @ivanyosifov2629
    @ivanyosifov2629 6 місяців тому

    Could you please create a course on Wordpress plugin development!

    • @howToDev
      @howToDev  6 місяців тому +2

      yes i was planning on doing this by creating a booking plugin for you guys

    • @ivanyosifov2629
      @ivanyosifov2629 6 місяців тому

      @@howToDev Thanks man. Will be waiting patiently. You are a great teacher.

  • @masiafmasiaf2204
    @masiafmasiaf2204 9 місяців тому

    For me those callback its look like a helper function or something like that in other programing lang like rust, python, js, go, i dont know why it need to create add_action(name, callback name), instead of calling directly those helper, without complicating passing a fn to another fn as a arg, i guess in php fn is not first class so thats why you cannot pass it directly as a arg instead a string and then will find that fn and invoke it, maybe im new to wordpress and php in general

    • @howToDev
      @howToDev  9 місяців тому

      it is a callback function but that action is done at a certain point of execution. On plugins and themes which you bought for example you cannot change the source code because at your first update your changes will br overwritten ... hence ... hooks. The plugin owner leaves a do_action with all the parameters needed and if you want as the user to vhange that functionality you just add_action in your subtheme and execute your changes without losing them on any update

  • @thebilalafsar
    @thebilalafsar 7 місяців тому

    Hey bro! I'm a total WordPress noob, just got the basics down, but I wanna go pro! I'm all about diving into advanced stuff like WordPress hooks, functions, speed optimization, plugin, and theme development, and all the troubleshooting tricks. I'm on a mission to kickstart my freelancing career. Can you hook us up with a course covering beginner to advanced levels in WordPress, starting from scratch? I'm a student from a really poor family, just trying to learn WordPress to hustle on freelancing platforms like Fiverr and Upwork and give my career a boost in the web development field. Anyway, lots of love from India! 🇮🇳❤

    • @howToDev
      @howToDev  6 місяців тому

      that what i am trying to do here but i had little time to do so. will try and continue the next few weeks. Tell me what you guys would like to learn and i promise i'll do my best to do videos on it

  • @johnpedersen3458
    @johnpedersen3458 10 місяців тому

    yeah, but why can't you just do any of this anyway, with php, js, jquery and ajax?
    what's with ur hookers, filters and actions mang

    • @howToDev
      @howToDev  10 місяців тому +1

      php does not have any hooks implemented within it, nor javascript ot jquery. Hooks are points of execution when something cannot be changed at the source