Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

Posts tagged "add_action"

Home» Posts tagged "add_action"

Plugin Development 101 – Intro to Actions

Posted on January 31, 2013 by Pippin in Beginner, Member Restricted, Subscriber Only, Tutorials, Writing Plugins No Comments
wordpress-plugin-development_101

In this part of Plugin Development 101 we take a look at another of the most important tools plugin developers use every day: actions. Just like filters, the presence of actions throughout WordPress are one of the elements that make plugin development possible, so having a good understanding of what they are and how they [...]

View Post add_action, do_action

Using pre_get_posts to Modify Queries for Meta Data and More

Posted on June 27, 2012 by Pippin in Action and Filter Hooks, Advanced, Member Restricted, Subscriber Only, Tutorials, Video Tutorials 24 Comments

There are a lot of ways to query posts in WordPress and a lot of parameters you can use for pulling in just the data you want. For example, you can easily pull in just posts that are in category X, Y, or Z, and you can also just as easily pull in only posts [...]

View Post add_action, pre_get_posts

Let’s Talk Extensible Code

Posted on June 17, 2012 by Pippin in Thoughts 13 Comments
Modular City

A few weeks ago, I gave a presentation at WordCamp Kansas City titled “Modular Plugins”. The talk was focused on the idea of writing extensible code when building plugins. I’d like to continue a discussion of the same topic here.

View Post add_action, add_filter, apply_filters, do_action

Create a Live Search in WordPress with jQuery and Ajax

Posted on May 25, 2012 by Pippin in Advanced, Ajax, Member Restricted, Subscriber Only, Tutorials, WordPress Admin / Dashboard, Working with jQuery, Working with Users 15 Comments

A live search is a search form that displays the results for your search query as you type. When done right, they can be exceptionally nice to use, and going through the process of building one covers a lot of really important techniques that can be applied to many other areas as well. This in-depth [...]

View Post add_action, Ajax, jquery, search, wp_ajax

Adding Custom Fields to the Easy Digital Downloads Checkout

Posted on May 7, 2012 by Pippin in Action and Filter Hooks, Intermediate, Tutorials, Writing Plugins 15 Comments

Easy Digital Downloads is a plugin I have been building for selling digital downloads through WordPress. It is completely free and very flexible. Due to a large number of actions hooks and filters, there are many ways that you can customize the plugin to best suit your needs. This tutorial will walk you through the [...]

View Post add_action, add_filter, easy digital downloads

Custom Front End Post Submission Form

Posted on April 23, 2012 by Pippin in Advanced, Custom Post Types, Member Restricted, Subscriber Only, Tutorials, Writing Plugins 24 Comments
jobs

In the Jobs Posting with Easy Content Types and Gravity Forms tutorial, we used Gravity Forms to create a submission form for users to post their job openings. In this tutorial, we are going to create our own custom submission form. While we will focus the form around job submission, the techniques used here apply [...]

View Post add_action, add_shortcode, update_post_meta, wp_insert_post

Get the Name of the Current Action or Filter

Posted on March 19, 2012 by Pippin in Action and Filter Hooks, Intermediate, Quick Tips, Tutorials No Comments

After watching a Twitter discussion this morning (shown in the image below), Helen Hou-Sandi, a WordPress developer and core-committer mentioned a function I had never heard of that can be used for finding the name of the current action or filter hook. It is called current_filter() and is extremely useful. Check out the snippets below [...]

View Post add_action, add_filter, current_filter

Detect when an Action has Run with did_action

Posted on March 14, 2012 by Pippin in Action and Filter Hooks, Advanced, Quick Tips, Tutorials 5 Comments

Some hooks get fired more than once, meaning that functions connected to those hooks are ran multiple times. This causes problems with some functions when they are designed to only be run once. If you have a function that is connected to an action hook, and you need to ensure it only ever runs once, [...]

View Post add_action, did_action, hook

User Submitted Image Gallery – Part 6

Posted on February 27, 2012 by Pippin in Action and Filter Hooks, Advanced, Custom Post Types, Member Restricted, Subscriber Only, Taxonomies, Tutorials, WordPress Admin / Dashboard, Working with Users, Writing Plugins No Comments

Part 6 of User Submitted Image Galleries will show you how to setup the single image page that shows the details for a particular image. This section is not very complex, but it covers a few very important techniques that are really good to know when it comes to modifying information on post templates via [...]

View Post add_action, add_filter, attachment, dashboard, gallery, the_content

Add Custom User Meta Fields to Restrict Content Pro Registration

Posted on February 24, 2012 by Pippin in Action and Filter Hooks, Advanced, Free Members, Member Restricted, Tutorials, Video Tutorials, Working with Users, Writing Plugins 37 Comments

Restrict Content Pro is my premium content plugin that makes it very easy to sell subscriptions to your WordPress website. It is the plugin that powers the subscription system to this site. This subscribers’s only tutorial is going to walk you through the process of adding new form fields to the registration form, and then [...]

View Post add_action, get_user_meta, restrict content pro, update_user_meta
  • 1
  • 2
  • Login

Lost your password?

Please enter your username or e-mail address. You will receive a new password via e-mail.

  • Facebook Become a Fan Like

  • Twitter Subscribe on Twitter Follow

  • YouTube Follow my Videos Subscribe

  • RSS Feed Subscribe with RSS Subscribe

Easy Digital Downloads

Most Loved

  • Love It Pro for WordPress
  • Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages
  • Simple Notices Pro Plugin for WordPress
  • User Bookmarks for WordPress
  • Front End Registration and Login Forms Plugin

Latest Premium Content

  • Plugin Development 101 – Introduction to Adding Dashboard Menus
  • Plugin Development 101 – Intro to Loading Scripts and Styles
  • User Follow System – Part 5
  • Plugin Development 101 – Intro to Short Codes

Latest Tutorials

  • Storing Session Data in WordPress without $_SESSION (19)

    The term Session in web development refers to...

  • Test Your Plugins with RTL (1)

    Right-To-Left languages are those that...

  • Submitting Your First Pull Request to a WordPress Plugin on Github (5)

    Github is an extremely popular tool for managing WordPress plugins, and one...

Enter your email to receive automated updates when new posts are published

WP Core Contributions

  • [24316]

View the ticket on Trac.

WP Codex Contributions

  • Function: shortcode exists
  • Function: has shortcode
  • Function: shortcode exists
  • Function: shortcode exists
  • Function: has shortcode

View all 41 changes in the Codex.

Latest Tweets

  • Could not fetch Twitter RSS feed.

Topics

contextual help featured Tom McFarlin shortcodes meta box get_user_meta register_setting add_options_page attachments campaign monitor hook Sugar Event Calendar wp_enqueue_script forms short codes plugin Related posts login do_action authors mail chimp attachment image recent posts post types apply_filters comments short code bbpress taxonomies custom post type Ajax images gallery Stripe taxonomy jquery widgets users add_filter easy content types add_action widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2013 Pippin's Plugins