/** * SyndicatedPost::inline_tags: Return a list of all the tags embedded * in post content using the a[@rel="tag"] microformat. * * @since 2010.0630 * @return array of string values containing the name of each tag */ function inline_tags() { $tags = array(); $content = $this->content(); $pattern = FeedWordPressHTML::tagWithAttributeRegex('a', 'rel', 'tag'); preg_match_all($pattern, $content, $refs, PREG_SET_ORDER); if (count($refs) > 0) { foreach ($refs as $ref) { $tag = FeedWordPressHTML::tagWithAttributeMatch($ref); $tags[] = $tag['content']; } } return $tags; }