Forum breadcrumbs – You are here:Asgaros Support ForumSupportCustom Column example
Please or Register to create posts and topics.

Custom Column example

Hello!

Thanks for the plugin and all of the support! I’m trying to add custom columns to a forum that will display one of two string options I’ve added to the post form. Is there an example of using asgarosforum_custom_topic_column that I can see?

Thanks so much!

Hello @jackfukushima

An example could look like the following:

function custom_topic_column($topic_id) {
    echo '<div>My Custom Column</div>';
}
add_action('asgarosforum_custom_topic_column', 'custom_topic_column', 10, 1);

 

jackfukushima has reacted to this post.
jackfukushima
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Thanks so much!