Php
WordPress tweak to manage posts admin, filter and show custom field
This tweak will change the “All Posts” page in the administration section of a WordPress site.
It adds the ability to filter the post list based on a custom field that has been used in any of the posts at any time.
Defaulting optional parameters
If you have a function that takes an optional parameter – e.g. function blah($xx,$yy='Default',$zz){ …. You can use the function and ensure that the optional parm always takes the correct default (even if the definition changes) by passing a NULL to it. e.g. … $mydate=blah($something,NULL,$more); .