A WordPress-centric search engine for devs and theme authors



paginate_links ›

Since3.0.0
Deprecatedn/a
apply_filters( 'paginate_links', $link )
Parameters:
  • (string) $link The paginated link URL.
    Required: Yes
Defined at:
Codex:

Filters the paginated links for the given archive pages.





Source

$page_links[] = '<a class="prev page-numbers" href="' . esc_url( apply_filters( 'paginate_links', $link ) ) . '">' . $args['prev_text'] . '</a>';