Saltar navegación

[Resuelto] I want to change the case of the field output

This support ticket is created hace 10 meses, 3 semanas. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Minesh hace 10 meses, 2 semanas.

Asistido por: Minesh.

Autor
Mensajes
#2702629

below is my shortcode to get the field content

[types field='app-1st-prefer-session' item='[types field='application-id'][/types]' output="raw"][/types]

I have a function

function fn_uppercase($atts) {
	$text = $atts['v'];
	return(strtoupper($text));
}
add_shortcode('upper', 'fn_uppercase');

if I pass the result to the shortcode

[upper v="[types field='app-1st-prefer-session' item='[types field='application-id'][/types]' output="raw"][/types]"]

It returns all capital letter [/types]"]

Please advise how I can do that?

#2702753

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please try to use the following shortcode:

[upper v="[types field='app-1st-prefer-session' item='[types field='application-id'][/types]' output='raw'][/types]"]

Does that help you to resolve your issue?