Skip to content
This repository has been archived by the owner on Feb 12, 2020. It is now read-only.

List ElasticSearch User Searches in Wordpress back-end

Notifications You must be signed in to change notification settings

Kaliber/es-list-user-searches

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

es-list-user-searches

Custom build wordpress plugin for saving searched queries into a database and get in the Wordpress back-end an overview of the most common searched queries.

How to save a searched query into the database

You need to call the plugin to save the searched query in the database. For example:

  // Check if the plugin exists / is enabled
  if ( class_exists( 'ES_List_User_Searches' ) ) {
    // Send searched query results
    ES_List_User_Searches::save_search( $searched_query, $total_hits, $site_url );
  }

Note: $site_url is optional

About

List ElasticSearch User Searches in Wordpress back-end

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%