aioseo_allow_bot

aioseo_allow_bot

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: all-in-one-seo-pack.4.7.4.2

apply_filters('aioseo_allow_bot') is found 1 times:

  • /app/Common/Tools/BadBotBlocker.php line 318
    		if ( ! $this->isGoodBot() && $this->isBadBot() && ! is_user_logged_in() ) {
    			$allow = false;
    		}
    
    		return apply_filters( 'aioseo_allow_bot', $allow );
    	}
    
    	/**
    	 * Is this a good bot?
    	 *
    	 * @see  Original code, thanks to Sean M. Brown.