We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Filter the list of locations to try for events.
/** * Filter the list of locations to try for events. * * @param Microsub\array[] $locations * @param int $user_id * @return Microsub\array[] The filtered value. */ function my_microsub_events_locations_callback( Microsub\array[] $locations, int $user_id ) { // Your code here. return $locations; } add_filter( 'microsub_events_locations', 'my_microsub_events_locations_callback', 10, 2 );
Microsub\array[]
$locations
int
$user_id
\apply_filters( 'microsub_events_locations', $locations, $user_id )
← All Hooks