How to put an “include” inside a “do_shortcode”?

Question

I need to put an include inside a shortcode. Can any one help me to do it, please?

Example:

echo do_shortcode( '[student]' . include 'incMac.php' . '[/student]' );
0
Pablo Guevara 1 year 2019-12-12T15:51:39-05:00 0 Answers 86 views 0

Leave an answer