ExpressionEngine® 3 User Guide

Legacy Documentation

You are using the documentation for version 3.5.17. Go here for the latest version or check here for your available upgrades to the latest version.

CSS Controller Extension Hooks

cp_css_end

cp_css_end()

Allows you add custom CSS to every Control Panel page:

$str = $this->extensions->call('cp_css_end');
Returns:CSS to add to every Control Panel page
Return type:String

New in version 2.1.2.