Skip to content

Commit

Permalink
minor chagne
Browse files Browse the repository at this point in the history
  • Loading branch information
burhandodhy committed Mar 26, 2024
1 parent 8686e86 commit cb25a9d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions includes/classes/Feature/Autosuggest/Autosuggest.php
Original file line number Diff line number Diff line change
Expand Up @@ -928,18 +928,18 @@ public function delete_cached_query() {
}

/**
* Get the contexts where autosuggest is used.
* Get the contexts for autosuggest.
*
* @since 5.1.0
* @return array
*/
protected function get_contexts() : array {
/**
* Filter contexts where autosuggest is used.
* Filter contexts for autosuggest.
*
* @hook ep_autosuggest_contexts
* @since 5.1.0
* @param {array} $contexts Contexts where autosuggest is used
* @param {array} $contexts Contexts for autosuggest
* @return {array} New contexts
*/
return apply_filters( 'ep_autosuggest_contexts', [ 'public', 'ajax' ] );
Expand Down

0 comments on commit cb25a9d

Please sign in to comment.