Posted on May 6th, 2008 by lost-in-code
I wrote a quick and simple function which allows you to quickly convert arrays to objects. It allows you to change an array like this :
addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F39%2Fphp-array-to-object%2F’;
addthis_title = ‘PHP+%3A+Array+to+Object’;
addthis_pub = ”;
Tags: array, convert, object, php
Filed under: PHP | No Comments »
Posted on May 4th, 2008 by lost-in-code
The Wordpress get_pages function works similar to the get_posts function which fetches posts from the database by criteria. The get_pages function takes different arguments and allows you to take control of parent and child pages as you execute the function.
addthis_url = ‘http%3A%2F%2Fwww.lost-in-code.com%2F38%2Fwordpress-get_pages%2F’;
addthis_title = ‘Wordpress+%3A+get_pages’;
addthis_pub [...]
Tags: get_pages, pages, Wordpress
Filed under: PHP, Programming, Web Development, Wordpress | No Comments »