Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ben Carlo

    (@hinampaksh)

    Hey Xavvi,

    Thanks for posting! You can use a core builder method to check if the builder is used on the page like so..

    function enqueue_stuff() {
      if ( !FLBuilderModel::is_builder_enabled() ) {
        // enqueue stuff here for when the builder is not used on the page
      }
    }
    add_action( 'wp_enqueue_scripts' , 'enqueue_stuff' );

    Ben

    Thread Starter Xavvi

    (@skinny-latte)

    Perfect, thank you

    Plugin Contributor Ben Carlo

    (@hinampaksh)

    No worries! Enjoy BB! ??

    Ben

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hook to check if plugin is being used’ is closed to new replies.