• 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.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding shortcodes inside shortcodes?’ is closed to new replies.