开发者

Assigning param value from WP shortcode to variable

I need to assign one of the parameter开发者_高级运维s of a Wordpress shortcode to a variable.

How do grab it?


$myvar = do_shortcode('[shortcode option1="value1" option2="value2"]');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜