check if external plugin exists

PHOTO EMBED

Fri Dec 17 2021 17:46:27 GMT+0000 (UTC)

Saved by @mel #php #wordpress

if ( ! function_exists( 'is_shop' ) ) :
    function is_shop() {
        //your codes goes here. 
    }
endif; 
content_copyCOPY

https://make.wordpress.org/themes/2021/12/15/reminder-if-your-theme-integrates-with-external-plugins-make-sure-that-they-are-available-before-trying-to-use-them/