WordPress Actions vs. Filters

If you’re still wondering about the difference between WordPress actions and WordPress filters, Michael Fields posted a very cool explanation in this forum thread called Actions vs. Filters. I think it’s the best explanation of actions and filters I have seen so far, well done Michael, and keep up the good work!

Let’s pretend that WordPress is a Mexican restaurant and we have ordered a taco as illustrated by the following code…

<?php $taco = 'chicken'; ?>

Hat tip to Philip for finding this little two-year old treasure in the forums. If you’re interested in a very detailed article about the internals of actions and filters, check out Gennady’s post called Inside WordPress Actions and Filters.

Has anyone else stumbled across interesting ways of describing WordPress functions and APIs? Feel free to share your links!

WordPress Weekly Issue #1

Everybody’s doing roundups, and so am I. WordPress Weekly issue #1!

Jane opened a ticket to add meta description to core, Joost de Valk is not happy. Theme Customizer in 3.4 is looking good. Ryan Imel of WPCandy interviews John James Jacoby on BuddyPress, bbPress and social. Theme.fm seems to be back, with a post about some plugins essential for your WordPress themes.

There’s a bunch of new videos at WordPress.tv from WordCamp Phoenix 2012 featuring Lance Willet, Aaron Campbell, Ryan Imel, Daniel Bachhuber and others. Tom McFarlin writes for Smashing Magazine about premium products. Jane’s Jitterbug Kickstarter project is almost funded. WordPress.com rolls out two new themes and views by country in stats.

This is an experimental post series where I link to random news around the WordPress community. Yes, everybody’s doing roundups, and so am I, but mine are better — short and straight to the point. Did I miss anything?

VirtualBox and NFS for Web Development

If you’re using VirtualBox for web development and sync data between the host and guest VMs using folder sharing via Guest Additions, you might have noticed that VirtualBox is not too good ad syncing files and some of them tend to get lost too.

Here’s a good tutorial on Setting Up NFS in Ubuntu which turned out to be a great alternative, works crazy fast, no permissions issue, syncs very well and easy to snapshot too!