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:
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).
Читать далее...
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).
Читать далее...