Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WP Portfolio - Change load more button text
* Change Button Text
* @todo Change the `prefix_` with your own unique string.
* @param string $button_text.
* @return string
function prefix_change_load_more_text( $button_text = '' ) {
return 'My Button Text';
add_filter( 'astra_portfolio_load_more_text', 'prefix_change_load_more_text' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment