Making WordPress.org

Changeset 8061


Ignore:
Timestamp:
01/09/2019 06:35:02 AM (5 years ago)
Author:
dd32
Message:

Forums: Add some documentation for the method added in r8060.

See #1978.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-hooks.php

    r8060 r8061  
    7777        add_filter( 'bbp_after_has_topics_parse_args', array( $this, 'has_topics_all_topics' ) );
    7878
    79         // Remove redundant parts of the <title>
     79        // Remove the redundant prefixes in the bbPress <title>.
    8080        add_filter( 'bbp_raw_title_array', array( $this, 'bbp_raw_title_array' ) );
    8181    }
     
    698698    }
    699699
     700    /**
     701     * Remove the redundant prefixes in the bbPress <title>.
     702     *
     703     * @param array $title The title format
     704     * @return array
     705     */
    700706    public function bbp_raw_title_array( $title ) {
    701707        if ( bbp_is_single_forum() || bbp_is_single_topic() || bbp_is_single_view() ) {
Note: See TracChangeset for help on using the changeset viewer.