How to identify bp->examples->current_example among all components?
-
I want to attach a voice dropbox to every post of any post type. The dropbox is a class, if has id, it will populate data, if call it without id, it will create new. I can add it to the loop template where it can get_the_ID within the loop. But if it is bp create/edit page, I need to know the id of current post of current component, that is bp->examples->current_example in all the bp components. It’s not one single component, but I need to identify the single post across all component. How can I code this?
- The topic ‘How to identify bp->examples->current_example among all components?’ is closed to new replies.