add documentation
This commit is contained in:
parent
9997b37a24
commit
54f7eae23b
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user