Support » Plugin: Multisite Enhancements » Remove No Index Icon

  • Resolved fuirippu

    (@fuirippu)


    Hello,

    I’d like to remove the No Index “(X)” Icon from showing or a toggle to enable/disable showing the “(X)” … all of the sites in my multisite are “NoIndex”.

Viewing 1 replies (of 1 total)
  • Plugin Author Frank

    (@bueltge)

    You can remove this feature via Hook, see the how to on https://github.com/bueltge/wordpress-multisite-enhancements/wiki/Remove-features

    <?php
    /**
     * Plugin Name: Multisite Enhancements Add-on to remove features
     * Description: This plugin remove features from the Multisite Enhancement plugin.
     * Plugin URI:  https://github.com/bueltge/WordPress-Multisite-Enhancements
     * Version:     2017-11-26
     * Author:      Frank Bültge
     * Author URI:  http://bueltge.de
     * License:     GPLv2+
     * License URI: ./assets/LICENSE
     * Text Domain: multisite-enhancements
     * Domain Path: /languages
     * Network:     true
     *
     * @package WordPress
     */
    
    ! defined( 'ABSPATH' ) and exit;
    
    add_filter( 'multisite_enhancements_autoload', function ( $files ) {
    
    	// Unset features by unsetting the filename from the autoloader.
    	unset( $files[ 'class-add-site-status-labels.php' ] );
    
    	return $files;
    } );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.