ExpressionEngine Docs

Javascript Controller Extension Hooks

cp_js_end()

Parameter Type Description
Returns String Javascript to add to the end of the control panel

Allows you add javascript to every Control Panel page.

How it’s called:

$str = $this->extensions->call('cp_js_end');