Elgg  Version 6.2
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

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

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

◆ $plugin_content

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

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

◆ $site

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

◆ if

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

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