wordpress check shortcode exists

Solutions on MaxInterview for wordpress check shortcode exists by the best coders in the world

showing results for - "wordpress check shortcode exists"
Eric
31 Jul 2020
1<?php
2
3if ( shortcode_exists( 'gallery' ) ) {
4    // The [gallery] short code exists.
5}
6
7?>
8