wordpress check shortcode exists

70

<?php

if ( shortcode_exists( 'gallery' ) ) {
    // The [gallery] short code exists.
}

?>

Comments

Submit
0 Comments