Forums
-
- Forum
- Posts
-
- Installation
- 27,632
- Troubleshooting
- 60,565
- Themes
- 10,191
- Plugins
- 14,981
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
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 );
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS