When using Restrict Content Pro, the “Restrict this Content” meta box is automatically loaded on all registered post types, but sometimes you want to remove it from certain post types. The plugin includes a simple filter that you can use to specify which post types the meta box should not be added displayed on. This [...]
View PostCheck for Existence of Action Hook

Action hooks allow us to make our plugins much more extensible, and some times we need to be able to check whether a hook exists, or has been registered. We might need to check that a hook exists for a variety of reason, and thankfully WordPress gives us a really easy way to do that. [...]
View Post add_action, do_action, has_actionCreating a Short Code to Show a Detailed List of Blog Authors
Since WordPress makes it so easy to run a multi-author blog, one of the things site administrators often want to do is have a page that shows all of the contributing authors of the blog. This could of course be done with a regular WordPress page, but that becomes much more difficult to update and [...]
View Post add_shortcode, get_avatar, get_usersAdmin Notices in the Network Admin
Admin Notices provide a an easy to use tool for plugin and theme developers to show messages and warnings in the WordPress Dashboard. The admin_notices hook is what we use to display our messages, however, this hook will only display messages in the regular Dashboard and not the Network Admin dashboard for multi site installs. [...]
View Post admin_notices, multisite, network_admin_noticesCreating a Simple Events System with Easy Content Types
Event calendars are pretty complex and difficult systems to build. There are lots of plugins that provide a range of functionality, everything from really, really simple events management, to full blow event calendar layouts, ticket purchased and more. A lot of people, however, are very unsatisfied with the available options, either because they are too [...]
View Post easy content types, events, get_posts, meta_queryQuick Introduction to Action Hooks

Action hooks are used in WordPress to perform functions, or “actions”. They are used throughout many plugins and themes to provide an easy way for users of the theme or plugin to modify the output or the way it functions. This quick tutorial will give you a good introduction into how action hooks work.
View Post add_action, do_action, hookAdd a Agree to Our Terms of Use Field to Restrict Content Pro
Restrict Content Pro, my plugin that allows you to easily run a premium subscription site with WordPress, has a very flexible registration form that is easy to add extra fields to. Want to add a field that stores extra information about the registering user? That’s easy! Want to add a new checkbox that users must [...]
View Post add_action, restrict content proIntroduction to Using Nonces for Form Validation
Nonces are used to add an extra layer of security to WordPress. They are typically used when submitting form data to ensure that the form is being submitted from where it’s supposed to. Nonce fields help us protect our forms from malicious attacks and non-authorized submissions. This tutorial will introduce you to using nonces in [...]
View Post forms, nonce, securityA Quick Introduction to Using Filters

Filter hooks are one of the the more powerful WordPress features that help to provide a huge amount of flexibility when it comes to modifying WordPress, including custom themes and plugins. There could easily be hundreds of different unique tutorials on how to use filters in themes and plugins, simply because of the huge array of [...]
View Post add_filter, apply_filters, filter, hookCheck if Theme Supports Post Thumbnails
A lot of plugins use the Featured Image feature for showing post thumbnails. My Better Recent Posts Widget Pro is a perfect example. It uses the Featured Image to display small thumbnails of the recent posts in widget areas. There’s one problem though. This feature only works if the currently active theme supports post thumbnails. [...]
View Post featured image, has_post_thumbnail, image