Created
May 19, 2021 05:54
-
-
Save maheshwaghmare/b7fa04c49684a2f5a70c688c94b4a30a to your computer and use it in GitHub Desktop.
WP Portfolio - Change load more button text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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