Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/09/2014 12:54:33 AM (9 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-loader.php

    r9194 r9218  
    8383         */
    8484        if ( 0 !== (int) get_option( 'blog_public' ) || ! is_multisite() ) {
    85             // Get all posts to track.
     85
     86            /**
     87             * Filters the post types to track for the Blog component.
     88             *
     89             * @since BuddyPress (1.5.0)
     90             *
     91             * @param array $value Array of post types to track.
     92             */
    8693            $post_types = apply_filters( 'bp_blogs_record_post_post_types', array( 'post' ) );
    8794
Note: See TracChangeset for help on using the changeset viewer.