Unlimited Plugins, WordPress themes, videos & courses! Unlimited asset downloads! From $16.50/m
Lessons:16Length:3.9 hours
  • Overview
  • Transcript

2.12 Optional Parameters

I don’t know about you, but I can’t stand duplication of code. So when I have to write a series of overloaded methods just because I don’t have some of the parameters that the other methods need, I get frustrated. Optional parameters to the rescue!