Passing php variable for the value
The shortcode is like
In the place of value (80) I want to pass on a php variable.
How to do that?
Found the solution :-
<?php echo do_shortcode('[rprogress value="'.$likes.'" color="#cc0001" border_radius="7px"]'); ?>
- The topic ‘Passing php variable for the value’ is closed to new replies.