• Resolved dioh10

    (@dioh10)


    Will this plugin log all the searches made through the wordpress search function?

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author eskapism

    (@eskapism)

    No, not by default. It can be modified to include this, but it does require some development knowledge.

    Thread Starter dioh10

    (@dioh10)

    Can you give me some pointers on what to look into?

    Plugin Author eskapism

    (@eskapism)

    In your search template you could add something like this

    
    SimpleLogger()->info(
    	"A user searched for {searchstring}",
    	array(
    		"searchstring" => get_search_query()
    	)
    );
    

    I think that should work!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Log Searches on WordPress by User’ is closed to new replies.