bp_group_header_actions

  • do_action( 'bp_group_header_actions' )

    Source Reference:

    • 	<?php do_action( 'bp_before_group_header_meta' ); ?>
      
      	<div id="item-meta">
      
      		<?php bp_group_description(); ?>
      
      		<div id="item-buttons">
      
      			<?php do_action( 'bp_group_header_actions' ); ?>
      
      		</div><!-- #item-buttons -->
      
      		<?php do_action( 'bp_group_header_meta' ); ?>
      
      	</div>
      </div><!-- #item-header-content -->
      
      <?php
      do_action( 'bp_after_group_header' );
      

Hook: add_action: bp_group_header_actions instances (2)

  • add_action( 'bp_group_header_actions',     'bp_group_join_button' )
    $function_to_add: bp_group_join_button
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-themes
      File: /bp-themes/bp-default/functions.php :: Trac Source Line: 120
      		if ( bp_is_active( 'activity' ) )
      			add_action( 'bp_member_header_actions',    'bp_send_public_message_button' );
      
      		// Messages button
      		if ( bp_is_active( 'messages' ) )
      			add_action( 'bp_member_header_actions',    'bp_send_private_message_button' );
      
      		// Group buttons
      		if ( bp_is_active( 'groups' ) ) {
      			add_action( 'bp_group_header_actions',     'bp_group_join_button' );
      			add_action( 'bp_group_header_actions',     'bp_group_new_topic_button' );
      			add_action( 'bp_directory_groups_actions', 'bp_group_join_button' );
      		}
      
      		// Blog button
      		if ( bp_is_active( 'blogs' ) )
      			add_action( 'bp_directory_blogs_actions',  'bp_blogs_visit_blog_button' );
      	}
      }
      add_action( 'after_setup_theme', 'bp_dtheme_setup' );
      

Hook: add_action: bp_group_header_actions instances (2)

  • add_action( 'bp_group_header_actions',     'bp_group_new_topic_button' )
    $function_to_add: bp_group_new_topic_button
    $priority: 0
    $accepted_args: 0

    Source Reference:

    • Component: BuddyPress :: bp-themes
      File: /bp-themes/bp-default/functions.php :: Trac Source Line: 121
      			add_action( 'bp_member_header_actions',    'bp_send_public_message_button' );
      
      		// Messages button
      		if ( bp_is_active( 'messages' ) )
      			add_action( 'bp_member_header_actions',    'bp_send_private_message_button' );
      
      		// Group buttons
      		if ( bp_is_active( 'groups' ) ) {
      			add_action( 'bp_group_header_actions',     'bp_group_join_button' );
      			add_action( 'bp_group_header_actions',     'bp_group_new_topic_button' );
      			add_action( 'bp_directory_groups_actions', 'bp_group_join_button' );
      		}
      
      		// Blog button
      		if ( bp_is_active( 'blogs' ) )
      			add_action( 'bp_directory_blogs_actions',  'bp_blogs_visit_blog_button' );
      	}
      }
      add_action( 'after_setup_theme', 'bp_dtheme_setup' );
      endif;
      

Comments are closed.