__( 'My Tab', 'my-text-domain' ), ); // URL to the tab (you shouldn't have to edit this unless you're super fancy) if ( $student ) { $tabs[ self::$my_tab_slug ]['url'] = LLMS_SL_Directory::get_profile_url( $student, self::$my_tab_slug ); } return $tabs; } /** * Output the actual content for your tab * This function follows the html structure of the Social Learning cards used in the core * * @param obj $student instance of the currently viewed LLMS_Student * @return void */ public static function output_content( $student ) { llms_sl_card_open_html( 'profile-' . self::$my_tab_slug, array( self::$my_tab_slug, 'profile' ) ); ?>

This is the main body of your tab. Your content should go within this div