bp_activity_screen_index

  • apply_filters( 'bp_activity_screen_index', 'activity/index' ) )

    Source Reference:

    • Component: BuddyPress :: bp-activity
      File: /bp-activity/bp-activity-screens.php :: Trac Source Line: 32
       * @uses bp_core_load_template()
       * @uses apply_filters() To call the 'bp_activity_screen_index' hook
       */
      function bp_activity_screen_index() {
      	if ( !bp_displayed_user_id() && bp_is_activity_component() && !bp_current_action() ) {
      		bp_update_is_directory( true, 'activity' );
      
      		do_action( 'bp_activity_screen_index' );
      
      		bp_core_load_template( apply_filters( 'bp_activity_screen_index', 'activity/index' ) );
      	}
      }
      add_action( 'bp_screens', 'bp_activity_screen_index' );
      
      /**
       * Activity screen 'my activity' index
       *
       * @since 1.0.0
       *
       * @uses do_action() To call the 'bp_activity_screen_my_activity' hook
      

Comments are closed.