can I use the same “object” name for all components in bp_core_fetch_avatar?
-
I want to modify bp_core_fetch_avatar and use it for all components in my theme.
Currently, I use ` ‘object’ => $bp->current_component`
This gets correct avatar for all components but I need to use a javascript to do something on the avatars.
So, I want to change all “object” to the same name so that the javascript can recon the elements.My question is— What will happen is all components’ avatar use the same object name? Deos it matter?
- The topic ‘can I use the same “object” name for all components in bp_core_fetch_avatar?’ is closed to new replies.