diff --git a/Gutenberg/plugin.php b/Gutenberg/plugin.php index 2b335fe5..b6bc6866 100644 --- a/Gutenberg/plugin.php +++ b/Gutenberg/plugin.php @@ -782,6 +782,7 @@ function embedpress_pdf_render_block($attributes) $url = !empty($attributes['href']) ? $attributes['href'] : ''; + $adsAtts = ''; if(!empty($attributes['adManager'])) { $ad = base64_encode(json_encode($attributes)); $adsAtts = "data-ad-id=$client_id data-ad-attrs=$ad class=ad-mask";