1. Home
  2. Docs
  3. Custom Code Samples
  4. Checkout Map
  5. Change “Detect Current Location” button text

Change “Detect Current Location” button text

function lpac_change_btn_text( $default_text ){
	return 'Custom Button Text';
}
add_filter( 'lpac_find_location_btn_text', 'lpac_change_btn_text' );

Was this article helpful to you? Yes No