WordPress Development Meta
to customize your list.
more stack exchange communities
Start here for a quick overview of the site
Detailed answers to any questions you might have
Discuss the workings and policies of this site
Making extra parameters optional
I've setup a very specific function and it works well but I'd like to make the parameters optional but I can't get a handle on the regex bit: add_rewrite_rule('whats-on/([^/]+)/([^/]+)/([^/]+)/?$', ...
Jan 25 '12 at 18:17
newest parameter regex questions feed
Hot Network Questions
Invertibility of a function in Z/m - Does what I have written work?
Why am I allowed to access protected Windows files when I boot Ubuntu from USB?
Why is Job referred to by the feminine pronoun in Job 1:15?
How can I preserve the order of multiplications and divisions?
expl3 code with tabularx
Why is "distro", rather than "distri", short for "distribution" in Linux world?
How to force a group to choose a leader?
Finding differences between Pi with varying number of decimals
How to use restricted characters in egrep?
How to JSON.serialize an opportunities line items?
What is $DISPLAY environment variable
What is a tactful way to address colleague's lack of cooperation with a project?
Why can't find -regex match a newline?
Why are string resources generally kept external to the code and not inside the code?
Do all Groups have a representation?
Combination of \pm and \EUR
Is it appropriate for an employer to ask skilled professionals to do manual labor?
Ground Axiom and behaviors of continuum function
How can I get rid of the "En" icon in the notification area?
Which one and why? don't or not to
How exactly does printk work internally?
How can I change the bulbs in this light fixture?
The Floating Horde
Firmware protection on AVR and PIC controllers
more hot questions
Life / Arts
Culture / Recreation
TeX - LaTeX
Unix & Linux
Ask Different (Apple)
Geographic Information Systems
Science Fiction & Fantasy
Seasoned Advice (cooking)
Personal Finance & Money
English Language & Usage
Mi Yodeya (Judaism)
Cross Validated (stats)
Theoretical Computer Science
Meta Stack Overflow
Stack Overflow Careers
site design / logo © 2014 stack exchange inc; user contributions licensed under
cc by-sa 3.0
WordPress is a trademark of the WordPress Foundation, registered in the US and other countries. This site is not affiliated with the WordPress Foundation in any way.