$value) { $this->{$key} = $value; } $this->label_created = __('Created', 'f13-github'); $this->label_description = __('Description', 'f13-github'); $this->label_download_file = __('Download file', 'f13-github'); $this->label_files = __('Files', 'f13-github'); $this->label_forks = __('Forks', 'f13-github'); $this->label_github = __('GitHub', 'f13-github'); $this->label_github_repository = __('GitHub repository', 'f13-github'); $this->label_open_issues = __('Open issues', 'f13-github'); $this->label_last_commit = __('Last commit', 'f13-github'); $this->label_na = __('N/A', 'f13-github'); $this->label_owner = __('Owner', 'f13-github'); $this->label_stars = __('Stars', 'f13-github'); $this->label_watchers = __('Watchers', 'f13-github'); } public function shortcode() { $v = '
';
$v .= htmlentities(file_get_contents($eachFile['download_url']));
$v .= '';
}
}
}
$v .= '