Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Created January 5, 2018 16:31
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/e44ff58b2555379492352ead9e5dd8c3 to your computer and use it in GitHub Desktop.
Save jchristopher/e44ff58b2555379492352ead9e5dd8c3 to your computer and use it in GitHub Desktop.
Perform additional processing of PDF metadata extracted by SearchWP
<?php
add_action( 'searchwp_index_pdf_metadata', function( $pdf_metadata, $post_id ) {
// Perform additional processing of $pdf_metadata
}, 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment