Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created October 12, 2015 14:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jchristopher/cda2cb9512f9a48418a8 to your computer and use it in GitHub Desktop.
Save jchristopher/cda2cb9512f9a48418a8 to your computer and use it in GitHub Desktop.
<?php
function my_searchwp_xpdf_command( $cmd, $filename ) {
return $cmd . ' -upw password';
}
add_filter( 'searchwp_xpdf_command', 'searchwp_xpdf_command', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment