Elgg  Version master
Variables
robots.txt.php File Reference

Go to the source code of this file.

Variables

 $site = elgg_get_site_entity()
 
 $content = $site->getMetadata('robots.txt')
 
 $plugin_content = elgg_trigger_event_results('robots.txt', 'site', ['site' => $site], '')
 
 if (!empty($plugin_content)&&is_string($plugin_content))
 

Variable Documentation

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

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

$plugin_content = elgg_trigger_event_results('robots.txt', 'site', ['site' => $site], '')

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

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

if(!empty($plugin_content)&&is_string($plugin_content))

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