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 ); ?>