functions – need to put variable in wordpress short code

Question

[survey_records id=”$variable” qid=”3″ aid=”selected” data=”answer” uid=”68″ session=”last”]

the base shortcode:

[survey_records id=number qid=”3″ aid=”selected” data=”answer” uid=”68″ session=”last”]

how to change it to variable?
change number to $variable

0
user228620 1 month 2022-12-28T06:57:57-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse