Adding shortcodes inside shortcodes?
-
Dear Michael,
First of all thank you soo much for this wonderful plugin. Really helpful and useful!
I wanna ask about inserting shortcodes inside shortcode creating by this plugin, is it possible?
So I count submission in a form. If the submissions reached 100, I want to close the form. The form is Contact Form 7 form.
For example:
include_once(ABSPATH . ‘wp-content/plugins/contact-form-7-to-database-extension/CFDBShortcodeCount.php’);
$countShortCode = new CFDBShortcodeCount();
$attributes = array(‘form’ => ‘Leadership Lounge’);
echo($countShortCode->handleShortCode($attributes));if($countShortCode->handleShortCode($attributes) >= 100)
{
echo “Sorry, submission if closed!”;
}
else
[ the form shortcode here ]How can I do this?
Thank you so much in advance ??
Regards.
- The topic ‘Adding shortcodes inside shortcodes?’ is closed to new replies.