Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Google_Group_Extension extends BP_Group_Extension {
- var $enable_create_step = false;
- var $enable_edit_item = false;
- function google_group_extension() {
- $this->name = 'Map';
- $this->slug = 'map';
- $this->create_step_position = 21;
- $this->nav_item_position = 31;
- }
- function display() {
- global $bp;
- echo '<div class="ggmap-directions">'. __('', 'ggmap').' '. ggmap_make_directions_for_group().'</div>';
- echo '<div class="ggmap-map">'. __('', 'ggmap').' '. ggmap_make_map_for_group().'</div>';
- }
- }
- bp_register_group_extension( 'Google_Group_Extension' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement