Navigation überspringen

[Gelöst] I want to change the case of the field output

This support ticket is created vor 10 Monaten, 2 Wochen. 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)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 10 Monaten, 2 Wochen.

Assistiert von: Minesh.

Author
Artikel
#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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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?