This filter helps to replace the text ‘Pricing Name’.
Example :
add_filter( 'gettext', 'wp_travel_change_field_names', 20, 3 ); function wp_travel_change_field_names( $translated_text, $text, $domain ) { if ( is_singular() ) { switch ( $translated_text ) { case 'Pricing Name' : $translated_text = __( 'your text here', 'wp-travel' ); break; } } return $translated_text; }