• 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)
  • The topic ‘check if shortcode exists’ is closed to new replies.