jetpack_omnisearch_more_info

The Jetpack by WordPress.com jetpack omnisearch more info function.

Description

jetpack_omnisearch_more_info(); 

Usage

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

Defined (1)

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

/modules/module-info.php  
  1. function jetpack_omnisearch_more_info() { 
  2. ?> 
  3.  
  4. <p><?php esc_html_e( 'Search once, get results from everything! Currently supports searching posts, pages, comments, media, and plugins.', jetpack ); ?></p> 
  5.  
  6. <p><?php esc_html_e( 'Omnisearch plays nice with other plugins by letting other providers offer results as well.', jetpack ); ?></p> 
  7.  
  8. <?php if( class_exists( 'Jetpack_Omnisearch' ) && current_user_can( 'edit_posts' ) ): ?> 
  9. <?php echo Jetpack_Omnisearch::get_omnisearch_form(); ?> 
  10. <?php endif; ?> 
  11.  
  12. <?php