Skip to content

Commit

Permalink
Merge pull request disqus#45 from disqus/language-hook
Browse files Browse the repository at this point in the history
Add filter hook for setting custom Disqus language
  • Loading branch information
thetylerhayes committed Jan 3, 2013
2 parents 5d40bb6 + f8f5f4e commit c1c881e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions disqus/comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<?php endif; ?>
var disqus_config = function () {
var config = this; // Access to the config object
config.language = '<?php echo esc_js(apply_filters('disqus_language_filter', '')) ?>';

/*
All currently supported events:
Expand Down

0 comments on commit c1c881e

Please sign in to comment.