From ccc0719f039fd413fd841cbab0e40ec25bd5c722 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 18 Sep 2013 17:31:08 +0000 Subject: [PATCH] Inline documentation for hooks in wp-links-opml.php. props netweb. see #25229. Built from https://develop.svn.wordpress.org/trunk@25480 git-svn-id: http://core.svn.wordpress.org/trunk@25401 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-links-opml.php | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/wp-links-opml.php b/wp-links-opml.php index e30869bdc8..8460ee1eb8 100644 --- a/wp-links-opml.php +++ b/wp-links-opml.php @@ -28,7 +28,14 @@ echo '\n"; <?php printf( __('Links for %s'), esc_attr(get_bloginfo('name', 'display')) ); ?> GMT - + 'link_category', 'hierarchical' => 0, 'include' => $link_cat)); foreach ( (array)$cats as $cat ) : - $catname = apply_filters('link_category', $cat->name); + /** + * Filter the OPML outline link category name. + * + * @since 2.2.0 + * + * @param string $catname The OPML outline category name. + */ + $catname = apply_filters( 'link_category', $cat->name ); ?> $cat->term_id)); foreach ( (array)$bookmarks as $bookmark ) : - $title = apply_filters('link_title', $bookmark->link_name); + /** + * Filter the OPML outline link title text. + * + * @since 2.2.0 + * + * @param string $title The OPML outline title text. + */ + $title = apply_filters( 'link_title', $bookmark->link_name ); ?>