add documentation

This commit is contained in:
John Bintz 2009-06-27 09:44:18 -04:00
parent 9997b37a24
commit 54f7eae23b

View File

@ -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) { function inject_ads_into_body_copy($body) {
if ($this->publisher_info !== false) { if ($this->publisher_info !== false) {
if (get_option("plugin-wonderful-enable-body-copy-embedding") == 1) { if (get_option("plugin-wonderful-enable-body-copy-embedding") == 1) {