Created
January 4, 2021 12:02
-
-
Save yousufansa/8a76117fad432a4a60dc46172c6149fd to your computer and use it in GitHub Desktop.
Front Marketplace - Customize the Install Now Button Label
This file contains hidden or 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
if( ! function_exists( 'front_child_hp_single_listing_custom_action_text' ) ) { | |
function front_child_hp_single_listing_custom_action_text( $action_text ) { | |
$action_text = esc_html__( 'Buy Now', 'front' ); | |
return $action_text; | |
} | |
} | |
add_filter( 'front_hp_single_listing_action_text', 'front_child_hp_single_listing_custom_action_text' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment