Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Use these filters to change the text of the "Next" and "Prev" pagination on the singular portfolio views.
function ava_child_portfolio_prev_text() {
return 'Previous';
}
add_filter( 'ava_portfolio_pagination_prev', 'ava_child_portfolio_prev_text', 10, 1 );
function ava_child_portfolio_next_text() {
return 'Continue';
}
add_filter( 'ava_portfolio_pagination_next', 'ava_child_portfolio_next_text', 10, 1 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.