SearchWP

This Documentation is for SearchWP Version 3

Available since: 2.7

searchwp_skip_vendor_libs

This hook allows you to prevent vendor libraries from being loaded in cases where project requirements dictate it.

NOTE: enabling this hook will prevent the following from working as expected:

  • PDF content extraction
  • PDF metadata extraction

Example: to prevent vendor libraries from being loaded, add the following to your theme’s functions.php:

<?php
add_filter( 'searchwp_skip_vendor_libs', '__return_true' );
view raw functions.php hosted with ❤ by GitHub
[wpforms id="3080"]