Filter: sensei_filter_queries_set_author

apply_filters( 'sensei_filter_queries_set_author', $user_id, $screen_id ) → {int}

Filter the author Sensei set for queries.

Parameters:
Name Type Description
$user_id int

The user ID to set as author.

$screen_id string

The current screen ID.

Since:
  • 1.8.0
Source:
Returns:

Filtered author ID.

Type
int