diff --git a/wp-includes/template-functions-bookmarks.php b/wp-includes/template-functions-bookmarks.php index 0171770eff..3ec336492b 100644 --- a/wp-includes/template-functions-bookmarks.php +++ b/wp-includes/template-functions-bookmarks.php @@ -383,6 +383,7 @@ function get_bookmarks($args = '') { if ($limit != -1) $query .= " LIMIT $limit"; - return $wpdb->get_results($query); + $results = $wpdb->get_results($query); + return apply_filters('get_bookmarks', $results, $r); } ?> \ No newline at end of file diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index ae9a344dae..d76cf0acc2 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -450,7 +450,7 @@ function &get_categories($args = '') { if ( $child_of || $hierarchical ) $categories = & _get_cat_children($child_of, $categories); - return $categories; + return apply_filters('get_categories', $categories); } ?> diff --git a/wp-includes/template-functions-post.php b/wp-includes/template-functions-post.php index 11a9232519..ae39d3ce61 100644 --- a/wp-includes/template-functions-post.php +++ b/wp-includes/template-functions-post.php @@ -351,6 +351,7 @@ function &get_pages($args = '') { $query .= " ORDER BY " . $sort_column . " " . $sort_order ; $pages = $wpdb->get_results($query); + $pages = apply_filters('get_pages', $pages, $r); if ( empty($pages) ) return array();