Last active
August 4, 2022 14:06
-
-
Save joseconti/46a8e55df2bc39167f8f9bb7732b9b4c to your computer and use it in GitHub Desktop.
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
<?php | |
add_filter( 'language_attributes', 'mi_lang_personalizado' ); | |
function mi_lang_personalizado( $output ) { | |
if ( is_page( 34 ) ) { | |
return 'lang="en_US"'; | |
} | |
return $output; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment