Skip to content

How to hide location tab on the single property backend edition page.

1 minute read

Please add this kind to your MyHome Child Theme functions.php file. If you are not familiar with Child Themes please check this article - How to use Child Theme? How to change files (php / css / js) and keep theme future update compatibility?

php
add_action('admin_head', 'myhome_hide_location_tab');

function myhome_hide_location_tab() {
  echo '<style>
.acf-tab-wrap.-top > ul > li:nth-child(2) {
    display: none!important;
}
  </style>';
}

Ask the people who build MyHome WPBakery

We answer by email from support@tangiblewp.com. With Premium Support, we also fix your site when something breaks.

Was this guide helpful?