showScreenshot
The Ads EZ Plugin for Google AdSense showScreenshot function.
Description
showScreenshot( $id );
Parameters (1)
- 0. $id
- The id.
Usage
if ( !function_exists( 'showScreenshot' ) ) { require_once ABSPATH . PLUGINDIR . 'ads-ez-plugin-for-google-adsense/admin/header.php'; } // The id. $id = null; // NOTICE! Understand what this does before running. $result = showScreenshot($id);
Defined (1)
The function is defined in the following location(s).
- /admin/header.php
- function showScreenshot($id) {
- $img = "../screenshot-$id.png";
- $iSize = getimagesize($img);
- $width = $iSize[0] . 'px';
- echo "<img src='$img' alt='screenshot' class='col-sm-12' style='max-width:$width'>";
- }