Skip to content

Commit

Permalink
Add kwargs to page_listing_more_buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
davisnando committed Dec 13, 2023
1 parent 4239553 commit 5d53c31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wagtail_personalisation/wagtail_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def page_listing_variant_buttons(page, page_perms, *args, **is_parent):
if WAGTAIL_VERSION >= (5, 2):

@hooks.register("register_page_listing_variant_buttons")
def page_listing_more_buttons(page, user, is_parent=False, *args):
def page_listing_more_buttons(page, user, is_parent=False, *args, **kwargs):
"""Adds a 'more' button to personalisable pages allowing users to quickly
create a new variant for the selected segment.
Expand Down

0 comments on commit 5d53c31

Please sign in to comment.