Skip to content

Instantly share code, notes, and snippets.

@iredun iredun/init.php
Created Jul 30, 2019

What would you like to do?
Убрать вкладку "Реклама" при редактировании элемента инфоблока 1С-Битрикс
function RemoveYandexDirectTab(&$TabControl){
if ($GLOBALS['APPLICATION']->GetCurPage()=='/bitrix/admin/iblock_element_edit.php') {
foreach($TabControl->tabs as $Key => $arTab){
if($arTab['DIV']=='seo_adv_seo_adv') {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.