app_registry_preload or app_preload_extra

The code event listener for preloading data from the registry is named app_preload_extra (and variants) in the code in XF/App.php:
Code:

$this->fire('app_preload_extra', [$this, &$keys]);

However, it is not possible to run any code here, since the corresponding code event listeners in the database that are available in the Code Event Listener editor have a different naming convention app_registry_preload (and variants).

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ