Mini Lessons
WordPress Foundations
The highly-paid WordPress Expert
WordPress Best Practices
Sign in
Subscribe
Working with parameters
Task: Disable Right Click using event.preventDefault()
Exercise: Integrating event object inside our callbacks
You can name the input parameters anything you want
Callback functions and automatic passing of input parameters
Creating a custom function that works with parameters