Category Archives: php

Using the wp settings API with a non-admin user

WordPress comes with the settings API, an API that simplifies development of configuration pages. It’s a complete API, with regard to function and security. This post will take a look at security, more specific, at access control. Continue reading Using the wp settings API with a non-admin user

Something to consider when developing a wp plugin

I’ve been busy developing a WordPress plugin lately and I experienced a best practice right away.

While developing the plugin will probably be the only one loaded. Once released into the wild, for instance by testing it on your live site, and being used in conjunction with pre installed plugins, you may run into PHP Fatal error: Cannot redeclare class ... in ... errors, even when you use import_once or require_once. Continue reading Something to consider when developing a wp plugin

PHP, OAuth and the LinkedIn API with SSL on Windows 7

I have been developing a tool which integrates a LinkedIn profile into WordPress. That’s not complicated because LinkedIn has an API which enables access to a LinkedIn users’ data. This API has great documentation and examples, which invites you to give it a try. Continue reading PHP, OAuth and the LinkedIn API with SSL on Windows 7