aioseo_robots_meta

aioseo_robots_meta

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

See hook in core

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

apply_filters('aioseo_robots_meta') is found 1 times:

  • /app/Common/Meta/Robots.php line 192
    			$this->attributes['noindex']  = 'noindex';
    			$this->attributes['nofollow'] = 'nofollow';
    		}
    
    		$this->attributes = array_filter( (array) apply_filters( 'aioseo_robots_meta', $this->attributes ) );
    
    		return $array ? $this->attributes : implode( ', ', $this->attributes );
    	}
    
    	/**
    	 * Sets the attributes for the current post.