From 54f7eae23bf9fc96e653d42ef58edbdc6f56d9ae Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sat, 27 Jun 2009 09:44:18 -0400 Subject: [PATCH] add documentation --- classes/PluginWonderful.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/classes/PluginWonderful.php b/classes/PluginWonderful.php index 647bf44..3af35c6 100644 --- a/classes/PluginWonderful.php +++ b/classes/PluginWonderful.php @@ -96,6 +96,11 @@ class PluginWonderful { } + /** + * Inject ads into the body copy of posts. + * @param string $body The body to search for PW() tags. + * @return string The modified body. + */ function inject_ads_into_body_copy($body) { if ($this->publisher_info !== false) { if (get_option("plugin-wonderful-enable-body-copy-embedding") == 1) {