ExpressionEngine

2.11.9 User Guide

Retired Documentation

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

Javascript Controller Extension Hooks

cp_js_end

cp_js_end()

Allows you add javascript to every Control Panel page.

How it’s called:

$str = $this->extensions->call('cp_js_end');
Returns:Javascript to add to the end of the control panel
Return type:String

New in version 2.1.2.