insertAlerts
The Ads EZ Plugin for Google AdSense insertAlerts function.
Description
insertAlerts( (int) $width = 12 );
Parameters (1)
- 0. $width — Optional. (int) =>
12
- The width.
Usage
if ( !function_exists( 'insertAlerts' ) ) { require_once ABSPATH . PLUGINDIR . 'ads-ez-plugin-for-google-adsense/admin/header.php'; } // The width. $width = 12; // NOTICE! Understand what this does before running. $result = insertAlerts($width);
Defined (1)
The function is defined in the following location(s).
- /admin/header.php
- function insertAlerts($width = 12) {
- ?>
- <div style="display:none" class="alert alert-info col-lg-<?php echo $width; ?>" role="alert">
- <button type="button" class="close"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
- <span id="alertInfoText"></span>
- </div>
- <div style="display:none" class="alert alert-success col-lg-<?php echo $width; ?>" role="alert">
- <button type="button" class="close"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
- <span id="alertSuccessText"></span>
- </div>
- <div style="display:none" class="alert alert-warning col-lg-<?php echo $width; ?>" role="alert">
- <button type="button" class="close"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
- <span id="alertWarningText"></span>
- </div>
- <div style="display:none" class="alert alert-danger col-lg-<?php echo $width; ?>" role="alert">
- <button type="button" class="close"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
- <span id="alertErrorText"></span>
- </div>
- <?php