Forums
-
- Forum
- Posts
-
- Installation
- 28,406
- Troubleshooting
- 62,337
- Themes
- 10,400
- Plugins
- 15,321
- Requests & Feedback
- 14,945
- Showcase
- 3,254
-
That’s great! Passing parameters is just giving the function some data to work with.
$latestpost->topic_id
is the topic ID. There are probably some functions like topic_title()
and link_to_topic()
or similar that you can use to get the title and link. They too will need the topic ID passed as a parameter, so if those are the actual functions it could be topic_title( $latestpost->topic_id );