Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Mte90 committed Apr 4, 2022
1 parent 76768c1 commit 92c13b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ function remove_wp_block_library_css() {
*
* @param object $event EM Event.
*/
add_filter( 'em_event_load_postdata', 'mozilla_force_rsvp_end', 10, 2 );
function mozilla_force_rsvp_end( $event ) {
$event->event_rsvp_date = $event->event_end_date;
return $event;
}
add_filter( 'em_event_load_postdata', 'mozilla_force_rsvp_end', 10, 2 );

0 comments on commit 92c13b9

Please sign in to comment.