Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/09/2014 12:54:33 AM (12 years ago)
Author:
tw2113
Message:

Add hook documentation for the Blogs component

Fixes #5939

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-classes.php

    r8541 r9218  
    5959                $this->blog_id = apply_filters( 'bp_blogs_blog_id_before_save', $this->blog_id, $this->id );
    6060
     61                /**
     62                 * Fires before the current blog item gets saved.
     63                 *
     64                 * Please use this hook to filter the properties above. Each part will be passed in.
     65                 *
     66                 * @since BuddyPress (1.0.0)
     67                 *
     68                 * @param BP_Blogs_Blog Current instance of the blog item being saved. Passed by reference.
     69                 */
    6170                do_action_ref_array( 'bp_blogs_blog_before_save', array( &$this ) );
    6271
    … …  
    8089                        return false;
    8190
     91                /**
     92                 * Fires after the current blog item gets saved.
     93                 *
     94                 * Please use this hook to filter the properties above. Each part will be passed in.
     95                 *
     96                 * @since BuddyPress (1.0.0)
     97                 *
     98                 * @param BP_Blogs_Blog Current instance of the blog item being saved. Passed by reference.
     99                 */
    82100                do_action_ref_array( 'bp_blogs_blog_after_save', array( &$this ) );
    83101
Note: See TracChangeset for help on using the changeset viewer.