guitarist > writer > coder

October 15, 2011
Comments Off on delicious

  • Free JSON API to instantly check the spam score of your email messages.
    “Have you ever wanted to process the spam score of incoming or outgoing email messages, but didn’t want the hassle of managing SpamAssassin? Now you can use our lightweight JSON API and instantly integrate spam score processing in your app.”
  • query posts – When should you use WP_Query vs query_posts() vs get_posts()? – WordPress – Stack Exchange
    query_posts() should be used in one and only case if you need to modify main query of page. It sets a lot of global variables and will lead to obscure and horrible bugs if used in any other place and for any other purpose;get_posts() is very similar in mechanics and accepts same arguments, but returns array of posts, doesn’t modify global variables and is safe to use anywhere;

    WP_Query class power both behind the scenes, but you can also create and work with own object of it. Bit more complex, less restrictions, also safe to use anywhere.

Digest powered by RSS Digest