Function Reference: geodir_payment_invoices_list_page_link

Summary

This function has not been documented yet.

Source Code

function geodir_payment_invoices_list_page_link( $dashboard_links ) {
	$user_id = get_current_user_id();
	
	if ( $user_id ) {
		$invoices_link = geodir_payment_invoices_page_link();
		
		$dashboard_links .= '<li><i class="fa fa-shopping-cart"></i><a class="gd-invoice-link" href="' . $invoices_link . '">' . __( 'My Invoice History', 'geodir_payments' ) . '</a></li>';
	}
	
	return $dashboard_links;
}