Skip to content

Commit f0f936a

Browse files
Docs: Document the parameters in WP_PHPMailer::setLanguage().
Follow-up to [59592]. Props dilipbheda, mukesh27, SergeyBiryukov. Fixes #63368. git-svn-id: https://develop.svn.wordpress.org/trunk@60232 602fd350-edb4-49c9-b593-d223f7449a82
1 parent dcba873 commit f0f936a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/wp-includes/class-wp-phpmailer.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ public function __construct( $exceptions = false ) {
3232
*
3333
* @since 6.8.0
3434
*
35+
* @param string $langcode Optional. Unused. ISO 639-1 2-character language code. Default 'en'.
36+
* @param string $lang_path Optional. Unused. Path to the language file directory. Default empty string.
3537
* @return true Always returns true.
3638
*/
3739
public function setLanguage( $langcode = 'en', $lang_path = '' ) {

0 commit comments

Comments
 (0)