Skip to content

Instantly share code, notes, and snippets.

@maheshwaghmare
Created May 19, 2021 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maheshwaghmare/b7fa04c49684a2f5a70c688c94b4a30a to your computer and use it in GitHub Desktop.
Save maheshwaghmare/b7fa04c49684a2f5a70c688c94b4a30a to your computer and use it in GitHub Desktop.
WP Portfolio - Change load more button text
<?php
/**
* 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