Answer the question
In order to leave comments, you need to log in
Your function in Bitrix?
In general, the fate-villain threw me a task for 1s Bitrix.
Tell me where you need to insert your function so that it is visible on all pages of the site?
Answer the question
In order to leave comments, you need to log in
/bitrix/php_interface/init.php
If you need access to the function on all pages.
I also recommend removing the PHP closing tag in this file, just in case
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question