Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I made a new network in my website its default language was ar when I add a new website it does not fill it WPLANG automatically, I made it manually but how to make it fill automatically.

share|improve this question
    
Can you please post the exact line of code you used for WPLANG? –  M-R Dec 12 '12 at 13:38

1 Answer 1

up vote 1 down vote accepted

OK Thanks all I found the answer

update_option( 'WPLANG', 'ar' ); 
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.