bp_get_options_nav_ . $subnav_item[css_id]

  • apply_filters( 'bp_get_options_nav_' . $subnav_item['css_id'], '<li id="' . $subnav_item['css_id'] . '-' . $list_type . '-li" ' . $selected . '><a id="' . $subnav_item['css_id'] . '" href="' . $subnav_item['link'] . '">' . $subnav_item['name']

    Source Reference:

    • Component: BuddyPress :: bp-core
      File: /bp-core/bp-core-template.php :: Trac Source Line: 56
      			$selected = ' class="current selected"';
      		} else {
      			$selected = '';
      		}
      
      		// List type depends on our current component
      		$list_type = bp_is_group() ? 'groups' : 'personal';
      
      		// echo out the final list item
      		echo apply_filters( 'bp_get_options_nav_' . $subnav_item['css_id'], '<li id="' . $subnav_item['css_id'] . '-' . $list_type . '-li" ' . $selected . '><a id="' . $subnav_item['css_id'] . '" href="' . $subnav_item['link'] . '">' . $subnav_item['name'] . '</a></li>', $subnav_item );
      	}
      }
      
      function bp_get_options_title() {
      	global $bp;
      
      	if ( empty( $bp->bp_options_title ) )
      		$bp->bp_options_title = __( 'Options', 'buddypress' );
      
      	echo apply_filters( 'bp_get_options_title', esc_attr( $bp->bp_options_title ) );
      

Comments are closed.