Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
11/05/2016 12:13:46 AM (10 years ago)
Author:
tw2113
Message:

Adds PHPDocs to missed filters in the blogs component.

File:
1 edited

Legend:

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

    r11023 r11237  
    7676                global $wpdb;
    7777
     78                /**
     79                 * Filters the blog user ID before save.
     80                 *
     81                 * @since 1.0.0
     82                 *
     83                 * @param int $value User ID.
     84                 * @param int $value Site ID.
     85                 */
    7886                $this->user_id = apply_filters( 'bp_blogs_blog_user_id_before_save', $this->user_id, $this->id );
     87
     88                /**
     89                 * Filters the blog blog ID before save.
     90                 *
     91                 * @since 1.0.0
     92                 *
     93                 * @param int $value Blog ID.
     94                 * @param int $value Site ID.
     95                 */
    7996                $this->blog_id = apply_filters( 'bp_blogs_blog_id_before_save', $this->blog_id, $this->id );
    8097
Note: See TracChangeset for help on using the changeset viewer.