grunion_omnisearch_add_providers

The Jetpack by WordPress.com grunion omnisearch add providers function.

Description

grunion_omnisearch_add_providers(); 

Usage

  1. if ( !function_exists( 'grunion_omnisearch_add_providers' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/contact-form/admin.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = grunion_omnisearch_add_providers(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/modules/contact-form/admin.php  
  1. function grunion_omnisearch_add_providers() { 
  2. // Feedback uses capability_type 'page' 
  3. if ( current_user_can( 'edit_pages' ) ) { 
  4. require_once( GRUNION_PLUGIN_DIR . '/grunion-omnisearch.php' ); 
  5. new Jetpack_Omnisearch_Grunion;