Skip to main content
7 events
when toggle format what by license comment
S Jul 5, 2020 at 23:49 history suggested Gleb Kemarsky CC BY-SA 4.0
Add and remove spaces to tidy the code
Jul 5, 2020 at 20:06 comment added Gleb Kemarsky Instead of substr( strrchr( $meta['file'], '/' ), 1) we can use basename( $meta['file'] ). The result is the same, but the code becomes more readable, php.net/manual/en/function.basename.php
Jul 5, 2020 at 18:47 review Suggested edits
S Jul 5, 2020 at 23:49
Feb 11, 2013 at 2:47 vote accept Steve
Feb 3, 2013 at 0:05 comment added Bart Karp functions.php of course! :)
Feb 2, 2013 at 10:43 comment added Steve what file do I add this code to?
Feb 1, 2013 at 5:18 history answered Bart Karp CC BY-SA 3.0