You are here

public static function InstapageCmsPluginConnector::addAdminCSS in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginConnector.php \InstapageCmsPluginConnector::addAdminCSS()

Adds a declaration of CSS to Instapage plugin's dashboard in admin panel.

Parameters

string $handle Name of the script.:

string $file Path to CSS file.:

File

core/connectors/InstapageCmsPluginConnector.php, line 263

Class

InstapageCmsPluginConnector
Main connector class, used to integrate with PHP-based CMSes. It's job is to detect a CMS that executes the code and select proper CMS Connector.

Code

public static function addAdminCSS($handle, $file) {
  return self::getSelectedConnector()
    ->addAdminCSS($handle, $file);
}