Support » Plugin: amr shortcode any widget » check if shortcode exists

  • Hello i’m trying the following code but seems not working

    <?php
    if ( shortcode_exists( '[do_widget id=recent-posts-widget-with-thumbnails-4]' ) ) {
        // The  short code exists.
    ?>

    there is something wrong?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.