You appear to be a bot. Output may be restricted
Description
Admin Downloads Icon
Echoes the CSS for the downloads post type icon.
Usage
$void = edd_admin_downloads_icon();
Parameters
Returns
void
Source
File name: easy-digital-downloads/includes/scripts.php
Lines:
1 to 28 of 28
function edd_admin_downloads_icon() { $images_url = EDD_PLUGIN_URL . 'assets/images/'; $menu_icon = '\f316'; $icon_cpt_url = $images_url . 'edd-cpt.png'; $icon_cpt_2x_url = $images_url . 'edd-cpt-2x.png'; ?> <style type="text/css" media="screen"> #dashboard_right_now .download-count:before { content: '<?php echo $menu_icon; ?>'; } #icon-edit.icon32-posts-download { background: url(<?php echo $icon_cpt_url; ?>) -7px -5px no-repeat; } @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and ( min--moz-device-pixel-ratio: 1.5), only screen and ( -o-min-device-pixel-ratio: 3/2), only screen and ( min-device-pixel-ratio: 1.5), only screen and ( min-resolution: 1.5dppx) { #icon-edit.icon32-posts-download { background: url(<?php echo $icon_cpt_2x_url; ?>) no-repeat -7px -5px !important; background-size: 55px 45px !important; } } </style> <?php }