wp_stateless_addons_tab_visible

wp_stateless_addons_tab_visible

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

apply_filters('wp_stateless_addons_tab_visible') is found 2 times:

  • /static/views/settings_interface.php line 16
        <?php if (!is_network_admin() && !apply_filters('wp_stateless_is_app_engine', false) && ud_get_stateless_media('sm.mode') != 'disabled') : ?>
          <a href="#stless_sync_tab" class="stless_setting_tab nav-tab <?php if ($tab == 'stless_sync_tab') echo 'nav-tab-active'; ?>"><?php _e('Sync', ud_get_stateless_media()->domain); ?></a>
        <?php endif; ?>
        <a href="#stless_compatibility_tab" class="stless_setting_tab nav-tab <?php if ($tab == 'stless_compatibility_tab') echo 'nav-tab-active'; ?>"><?php _e('Compatibility', ud_get_stateless_media()->domain); ?></a>
        <?php if ( apply_filters('wp_stateless_addons_tab_visible', false) ) : ?>
          <a href="#stless_addons_tab" class="stless_setting_tab nav-tab <?php if ($tab == 'stless_addons_tab') echo 'nav-tab-active'; ?>"><?php _e('Addons', ud_get_stateless_media()->domain); ?></a>
        <?php endif; ?>
        <?php if ( apply_filters('wp_stateless_status_tab_visible', false) ) : ?>
          <a href="#stless_status_tab" class="stless_setting_tab stless_status_tab nav-tab <?php if ($tab == 'stless_status_tab') echo 'nav-tab-active'; ?>"><?php _e('Status', ud_get_stateless_media()->domain); ?></a>
        <?php endif; ?>
       </h2>
    
  • /static/views/settings_interface.php line 43
            </div>
          </div>
        <?php endif; ?>
    
        <?php if ( apply_filters('wp_stateless_addons_tab_visible', false) ) : ?>
          <div id="stless_addons_tab" class="stless_settings_content <?php if ($tab == 'stless_addons_tab') echo 'active'; ?>">
            <div class="container-fluid">
              <?php do_action('wp_stateless_addons_tab_content'); ?>
            </div>
          </div>
        <?php endif; ?>
    

See this hook used in plugins: