WordPress.org

Make WordPress Core

Changeset 25533


Ignore:
Timestamp:
09/20/2013 11:08:50 PM (8 years ago)
Author:
DrewAPicture
Message:

Inline documentation for hooks in wp-includes/bookmark-template.php.

Props vinod dalvi, kpdesign.
Fixes #25364.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/bookmark-template.php

    r22910 r25533  
    229229                continue;
    230230            $output .= str_replace(array('%id', '%class'), array("linkcat-$cat->term_id", $class), $category_before);
    231             $catname = apply_filters( "link_category", $cat->name );
     231            /**
     232             * Filter the bookmarks category name.
     233             *
     234             * @since 2.2.0
     235             *
     236             * @param string $cat->name The category name of bookmarks.
     237             */
     238            $catname = apply_filters( 'link_category', $cat->name );
     239
    232240            $output .= "$title_before$catname$title_after\n\t<ul class='xoxo blogroll'>\n";
    233241            $output .= _walk_bookmarks($bookmarks, $r);
     
    250258    }
    251259
     260    /**
     261     * Filter the bookmarks list before it is echoed or returned.
     262     *
     263     * @since 2.5.0
     264     *
     265     * @param string $output The HTML list of bookmarks.
     266     */
    252267    $output = apply_filters( 'wp_list_bookmarks', $output );
    253268
Note: See TracChangeset for help on using the changeset viewer.