Elgg  Version 2.3
Variables
robots.txt.php File Reference

Go to the source code of this file.

Variables

 $site = elgg_get_site_entity()
 
 $content = $site->getPrivateSetting('robots.txt')
 
 $plugin_content = elgg_trigger_plugin_hook('robots.txt', 'site', array('site' => $site), '')
 
 if ( $plugin_content)
 

Variable Documentation

◆ $content

$content = $site->getPrivateSetting('robots.txt')

Definition at line 6 of file robots.txt.php.

◆ $plugin_content

$plugin_content = elgg_trigger_plugin_hook('robots.txt', 'site', array('site' => $site), '')

Definition at line 7 of file robots.txt.php.

◆ $site

Definition at line 3 of file robots.txt.php.

◆ if

if($plugin_content) (   $plugin_content)

Definition at line 8 of file robots.txt.php.