Skip to content

Instantly share code, notes, and snippets.

@jchristopher
Last active October 3, 2016 02:54
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/8552100 to your computer and use it in GitHub Desktop.
Save jchristopher/8552100 to your computer and use it in GitHub Desktop.
Manually trigger a SearchWP delta index update
<?php
// Manually process flagged index updates
if( function_exists( 'SWP' ) ) {
SWP()->process_updates();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment