Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Load translation files from your child theme instead of the parent theme
- function my_child_theme_locale() {
- load_child_theme_textdomain( 'blablator', get_stylesheet_directory() . '/languages' );
- }
- add_action( 'after_setup_theme', 'my_child_theme_locale' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement