Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/21/2015 01:01:04 AM (10 years ago)
Author:
tw2113
Message:

Add hooks docs for newly added hooks in 2.2.0.

See #5669.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-activity/bp-activity-actions.php

    r9351 r9384  
    805805        // Untrashing the post type - nothing here yet.
    806806        if ( 'trash' == $old_status ) {
     807
     808            /**
     809             * Fires if untrashing post in a post type.
     810             *
     811             * This is a variable filter that is dependent on the post type
     812             * being untrashed.
     813             *
     814             * @since BuddyPress (2.2.0)
     815             *
     816             * @param WP_Post $post Post data.
     817             */
    807818            do_action( 'bp_activity_post_type_untrash_' . $post->post_type, $post );
    808819        } else {
Note: See TracChangeset for help on using the changeset viewer.