Skip to content

Commit

Permalink
Livewire paginator next link
Browse files Browse the repository at this point in the history
  • Loading branch information
as247 committed Jan 18, 2024
1 parent 2aeab69 commit 20d0088
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WpStarter/Wordpress/Services/Livewire.php
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ function paginateLinks( $args = [] ) {
$link .= $args['add_fragment'];

$page_links[] = sprintf(
'<a class="next page-numbers" href="%s" wire:click.prevent="nextPagek(%s)">%s</a>',
'<a class="next page-numbers" href="%s" wire:click.prevent="nextPage(%s)">%s</a>',
esc_url( apply_filters( 'livewire_paginate_links', $link, 'next' ) ),
"'{$args['page_name']}'",
$args['next_text']
Expand Down

0 comments on commit 20d0088

Please sign in to comment.